I've been trying to build some packages that depend on pstoedit and bonobo, but I can't get either of them to build, for similar reasons, apparently. Here is a snip when I try to build pstoedit:
g++ -DPACKAGE_NAME=\"pstoedit\" -DPACKAGE_TARNAME=\"pstoedit\" -DPACKAGE_VERSION=\"3.33\" "-DPACKAGE_STRING=\"pstoedit 3.33\"" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"pstoedit\" -DVERSION=\"3.33\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -I. -I. -DHAVE_LIBPLOTTER -DHAVE_LIBMING -DHAVE_MAGIC -I/sw/include -I/sw/include/freetype2 -I/sw/include -D_REENTRANT -I/usr/X11R6/include -I/sw/include/libxml2 -DHAVE_LIBPNG -DDEFAULTGS=/sw/bin/gs -DPSTOEDITDATADIR=\"/sw/share/pstoedit\" -DPSTOEDITLIBDIR=\"/sw/lib/pstoedit-3.33\" -DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wstrict-prototypes -no-cpp-precomp -I/usr/X11R6/include/ -I/sw/include -g -c drvmagick++.cpp -fno-common -DPIC
In file included from /sw/include/Magick++/Include.h:13,
from /sw/include/Magick++/Image.h:14,
from /sw/include/Magick++.h:9,
from drvmagick++.h:29,
from drvmagick++.cpp:31:
/sw/include/magick/magick_config.h:341:1: warning: "PACKAGE_BUGREPORT" redefined
<command line>:10:1: warning: this is the location of the previous definition
/sw/include/magick/magick_config.h:344:1: warning: "PACKAGE_NAME" redefined
<command line>:6:1: warning: this is the location of the previous definition
/sw/include/magick/magick_config.h:347:1: warning: "PACKAGE_STRING" redefined
<command line>:9:1: warning: this is the location of the previous definition
/sw/include/magick/magick_config.h:350:1: warning: "PACKAGE_TARNAME" redefined
<command line>:7:1: warning: this is the location of the previous definition
/sw/include/magick/magick_config.h:353:1: warning: "PACKAGE_VERSION" redefined
<command line>:8:1: warning: this is the location of the previous definition
drvmagick++.cpp: In member function `virtual void drvMAGICK::show_path()':
drvmagick++.cpp:278: warning: comparison between signed and unsigned integer
expressions
mv -f drvmagick++.o .libs/drvmagick++.o
g++ -DPACKAGE_NAME=\"pstoedit\" -DPACKAGE_TARNAME=\"pstoedit\" -DPACKAGE_VERSION=\"3.33\" "-DPACKAGE_STRING=\"pstoedit 3.33\"" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"pstoedit\" -DVERSION=\"3.33\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -I. -I. -DHAVE_LIBPLOTTER -DHAVE_LIBMING -DHAVE_MAGIC -I/sw/include -I/sw/include/freetype2 -I/sw/include -D_REENTRANT -I/usr/X11R6/include -I/sw/include/libxml2 -DHAVE_LIBPNG -DDEFAULTGS=/sw/bin/gs -DPSTOEDITDATADIR=\"/sw/share/pstoedit\" -DPSTOEDITLIBDIR=\"/sw/lib/pstoedit-3.33\" -DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wstrict-prototypes -no-cpp-precomp -I/usr/X11R6/include/ -I/sw/include -g -c drvmagick++.cpp >/dev/null 2>&1
/bin/sh ../libtool --mode=link g++ -g -o libp2edrvmagick++.la -rpath /sw/lib/pstoedit-3.33 -lMagick++ -lMagick -llcms -ltiff -lfreetype -ljpeg -lpng -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -L/sw/lib -L/sw/lib -L/usr/X11R6/lib -L/sw/lib -L/sw/lib -module drvmagick++.lo -L. libpstoedit.la -L/sw/lib
grep: /sw/lib/libfreetype.la: No such file or directory
sed: /sw/lib/libfreetype.la: No such file or directory
libtool: link: `/sw/lib/libfreetype.la' is not a valid libtool archive
make[1]: *** [libp2edrvmagick++.la] Error 1
make: *** [all-recursive] Error 1
### execution of make failed, exit code 2
Failed: compiling pstoedit-3.33-16 failed
I get a similar problem building bonobo:
rm -fr .libs/libmoniker_std.la .libs/libmoniker_std.* .libs/libmoniker_std.*
gcc -bundle -flat_namespace -undefined suppress -o .libs/libmoniker_std.so bonobo-moniker-extender-file.lo bonobo-moniker-extender-stream.lo bonobo-moniker-file.lo bonobo-moniker-item.lo bonobo-moniker-new.lo bonobo-moniker-oaf.lo bonobo-moniker-cache.lo bonobo-stream-cache.lo bonobo-moniker-query.lo bonobo-moniker-std.lo -L/sw/lib -L../bonobo/.libs -lbonobo -lc
ld: warning -prebind has no effect with -bundle
ar cru .libs/libmoniker_std.a bonobo-moniker-extender-file.o bonobo-moniker-extender-stream.o bonobo-moniker-file.o bonobo-moniker-item.o bonobo-moniker-new.o bonobo-moniker-oaf.o bonobo-moniker-cache.o bonobo-stream-cache.o bonobo-moniker-query.o bonobo-moniker-std.o
ranlib .libs/libmoniker_std.a
creating libmoniker_std.la
(cd .libs && rm -f libmoniker_std.la && ln -s ../libmoniker_std.la libmoniker_std.la)
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/sw/share/locale"\" -I. -I. -I.. -I.. -I../bonobo -I/sw/include -I/sw/include -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/sw/include/orbit-1.0 -I/sw/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/sw/lib/gnome-libs/include -I/sw/include/gtk-1.2 -I/usr/X11R6/include -I/sw/include/gdk-pixbuf-1.0 -I/sw/include/freetype2 -I/sw/include/gnome-xml -no-cpp-precomp -DORBIT_DEF_CORBA_sequence_CORBA_string -DTC_DEF_TC_CORBA_sequence_CORBA_string -I/sw/include -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -O3 -fstrict-aliasing -funroll-loops -Wall -Wunused -c bonobo-moniker-gunzip.c
/bin/sh ../libtool --mode=link gcc -O3 -fstrict-aliasing -funroll-loops -Wall -Wunused -L/sw/lib -o bonobo-moniker-gunzip bonobo-moniker-gunzip.o ../bonobo/libbonobo.la ../bonobo/libbonobox.la -L/sw/lib -L/usr/X11R6/lib -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeprint -lgnomeui -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd -laudiofile -lgdk_pixbuf -lgtk -lgdk -lgmodule -lglib -lintl -lXext -lX11 -lart_lgpl -lm -lxml -lz -lfreetype
libtool: link: cannot find the library `/sw/lib/libfreetype.la'
make[2]: *** [bonobo-moniker-gunzip] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
### execution of make failed, exit code 2
Failed: compiling bonobo-1.0.20-3 failed
I supposedly have freetype and freetype2 installed (and recently built):
242 [EMAIL PROTECTED]>fink list -i freetype
Information about 1590 packages read in 0 seconds.
i freetype-hinting 1.3.1-6 TrueType font rendering library, version 1, hinting enabled
i freetype-hinting-bin 1.3.1-6 TrueType font rendering library, version 1, hinting enabled
i freetype-hinting-shlibs 1.3.1-6 TrueType font rendering library, version 1, hinting enabled
i freetype2-hinting 2.1.3-11 TrueType font rendering library, version 2 (dummy)
i freetype2-hinting-shlibs 2.1.3-11 TrueType font rendering library, version 2, shared libs
In /sw/lib I have:
-rwxr-xr-x 1 root admin 1590532 Nov 6 14:20 libfreetype.6.3.2.dylib
lrwxr-xr-x 1 root admin 23 Nov 6 14:21 libfreetype.6.dylib -> libfreetype.6.3.2.dylib
Interestingly, in /usr/X11R6/lib I have:
-rw-r--r-- 1 root wheel 308648 Sep 27 05:29 libfreetype.6.3.dylib
lrwxr-xr-x 1 root wheel 21 Oct 28 13:58 libfreetype.6.dylib -> libfreetype.6.3.dylib
-rw-r--r-- 1 root wheel 398036 Sep 14 21:34 libfreetype.a
lrwxr-xr-x 1 root wheel 21 Oct 28 13:58 libfreetype.dylib -> libfreetype.6.3.dylib
It's therefore unclear whether I really need fink's freetype libraries installed. Does anyone have any ideas?
Thanks, Charles
Charles A. Williams Dept. of Earth & Environmental Science Science Center 2C01A Rensselaer Polytechnic Institute Troy, NY 12180 Phone: (518) 276-3369 FAX: (518) 276-2012 e-mail: [EMAIL PROTECTED]
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
