GnuCash-1.5.1 fails to compile on FreeBSD 4.1-RELEASE

Steve Davidson sdn@sprintlabs.com
Tue, 19 Sep 2000 14:46:51 -0700


Dave Peticolas wrote:

> Steve Davidson writes:
> >
> > The glib12 and glib13 software was loaded via the FreeBSD 4.1-RELEASE
> > ports collection.
> > Apparently, glib-config and other development related files were not
> > included.
> >
> > How can I get a proper glib installation?
>
> I'm not familiar with the freebsd ports system, but I would have
> thought that freebsd would install development files as well. Can you
> obtain a list of the files that were installed from a particular port?

Yes.  See below.

>
> What does 'locate glib-config' give you?
>
> dave

glib-config is not found.


The file list for glib13 is (the contents of .PLIST.mktmp):

man/man1/glib-config-2.0.1.gz
bin/glib-config-2.0
bin/gobject-query
include/glib-2.0/gerror.h
include/glib-2.0/glib-object.h
include/glib-2.0/glib.h
include/glib-2.0/gmodule.h
include/glib-2.0/gobject/genums.h
include/glib-2.0/gobject/gobject.h
include/glib-2.0/gobject/gparam.h
include/glib-2.0/gobject/gparamspecs.h
include/glib-2.0/gobject/gtype.h
include/glib-2.0/gobject/gvalue.h
include/glib-2.0/gobject/gvaluecollector.h
include/glib-2.0/gobject/gvaluetypes.h
include/glib-2.0/gunicode.h
lib/glib-2.0/include/glibconfig.h
lib/libglib-1.3.a
lib/libglib-1.3.so
lib/libglib-1.3.so.1
lib/libgmodule-1.3.a
lib/libgmodule-1.3.so
lib/libgmodule-1.3.so.1
lib/libgobject-1.3.a
lib/libgobject-1.3.so
lib/libgobject-1.3.so.1
lib/libgthread-1.3.a
lib/libgthread-1.3.so
lib/libgthread-1.3.so.1
share/aclocal/glib-2.0.m4
@dirrm lib/glib-2.0/include
@dirrm lib/glib-2.0
@dirrm include/glib-2.0/gobject
@dirrm include/glib-2.0
@unexec if [ -f %D/info/dir ]; then if sed -e '1,/Menu:/d' %D/info/dir |
grep -q '^[*] '; then true; else rm %D/info/dir
; fi; fi
@exec /sbin/ldconfig -m %D/lib
@unexec /sbin/ldconfig -R



Here are the results from /usr/ports/devel/glib12/.PLIST.mktmp (the file
list):


man/man1/glib12-config.1.gz
bin/glib12-config
include/glib12/glib.h
include/glib12/glibconfig.h
include/glib12/gmodule.h
@unexec install-info --delete %D/info/glib.info %D/info/dir
info/glib.info
@exec install-info %D/info/glib.info %D/info/dir
lib/libglib12.a
lib/libglib12.so
lib/libglib12.so.3
lib/libgmodule12.a
lib/libgmodule12.so
lib/libgmodule12.so.3
lib/libgthread12.a
lib/libgthread12.so
lib/libgthread12.so.3
share/aclocal/glib.m4
@dirrm include/glib12
@unexec if [ -f %D/info/dir ]; then if sed -e '1,/Menu:/d' %D/info/dir |
grep -q '^[*] '; then true; else rm %D/info/dir
; fi; fi
@exec /sbin/ldconfig -m %D/lib
@unexec /sbin/ldconfig -R



Here are the result from a make for gnucash-1.5.1:

% make
make  all-recursive
Making all in macros
Making all in debian
Making all in doc
Making all in examples
Making all in html
Making all in fr
Making all in image
Making all in sgml
Making all in C
Making all in image
Making all in intl
Making all in lib
Making all in po
Making all in rpm
Making all in src
Making all in doc
Making all in design
Making all in engine
Making all in sql
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I..    -g -O2 -Wall -Wunused  -Wall -Werror-implicit-function-declaration
/usr/local/lib/glib-2.0 -c AccInfo.c
rm -f .libs/AccInfo.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -g -O2 -Wall -Wunused -Wall
-Werror-implicit-function-declaration /usr/local/lib/glib-2.0 -c
AccInfo.c  -fPIC -DPIC -o .libs/AccInfo.lo
gcc: cannot specify -o with -c or -S and multiple compilations
*** Error code 1

Stop in /usr/home/sdn/p/ports/gnucash-1.5.1/src/engine.
*** Error code 1

Stop in /usr/home/sdn/p/ports/gnucash-1.5.1/src/engine.
*** Error code 1

Stop in /usr/home/sdn/p/ports/gnucash-1.5.1/src.
*** Error code 1

Stop in /usr/home/sdn/p/ports/gnucash-1.5.1.
*** Error code 1

Stop in /usr/home/sdn/p/ports/gnucash-1.5.1.