This is very strange. When I remove ttfmkfontdir and try to build eterm, I can't do it. This is what happens:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include -no-cpp-precomp -DDARWIN -mdynamic-no-pic -I/sw/include -I/usr/X11R6/include -I/sw/include -I/usr/X11R6/include -g -O2 -c defaultfont.c -fno-common -DPIC -o .libs/defaultfont.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include -no-cpp-precomp -DDARWIN -mdynamic-no-pic -I/sw/include -I/usr/X11R6/include -I/sw/include -I/usr/X11R6/include -g -O2 -c defaultfont.c -o defaultfont.o >/dev/null 2>&1
mv -f .libs/defaultfont.lo defaultfont.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include -no-cpp-precomp -DDARWIN -mdynamic-no-pic -I/sw/include -I/usr/X11R6/include -I/sw/include -I/usr/X11R6/include -g -O2 -c libscream.c
rm -f .libs/libscream.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include -no-cpp-precomp -DDARWIN -mdynamic-no-pic -I/sw/include -I/usr/X11R6/include -I/sw/include -I/usr/X11R6/include -g -O2 -c libscream.c -fno-common -DPIC -o .libs/libscream.lo
libscream.c:1402:2: warning: #warning compiling in libscream
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include -no-cpp-precomp -DDARWIN -mdynamic-no-pic -I/sw/include -I/usr/X11R6/include -I/sw/include -I/usr/X11R6/include -g -O2 -c libscream.c -o libscream.o >/dev/null 2>&1
mv -f .libs/libscream.lo libscream.lo
/bin/sh ../libtool --mode=link gcc -g -O2 -L/sw/lib -Wl,-read_only_relocs,warning -L/sw/lib -L/usr/X11R6/lib -L/sw/lib -L/usr/X11R6/lib -o libEterm.la -rpath /sw/lib -release 0.9.2 actions.lo buttons.lo command.lo draw.lo e.lo events.lo font.lo grkelot.lo menus.lo misc.lo netdisp.lo options.lo pixmap.lo screen.lo script.lo scrollbar.lo startup.lo system.lo term.lo timer.lo utmp.lo windows.lo defaultfont.lo libscream.lo -last -lImlib2 -ldl -lSM -lICE -last -lXmu -lXext -lX11 -lm
grep: /sw/lib/libttf.la: No such file or directory
sed: /sw/lib/libttf.la: No such file or directory
libtool: link: `/sw/lib/libttf.la' is not a valid libtool archive
make[2]: *** [libEterm.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
### execution of make failed, exit code 2
Failed: compiling eterm-0.9.2-2 failed



Also, it appears that libttf is being used -- it is referenced several times in the build directory:


grep -r ttf *
config.cache: ac_cv_lib_ttf_TT_Init_FreeType=${ac_cv_lib_ttf_TT_Init_FreeType=no}
config.log:configure:8907: checking for TT_Init_FreeType in -lttf
config.log:configure:8926: gcc -o conftest -g -O2 -no-cpp-precomp -DDARWIN -mdynamic-no-pic -I/sw/include -I/usr/X11R6/include -Wl,-read_only_relocs,warning -L/sw/lib -L/usr/X11R6/lib conftest.c -lttf -ldl -lXmu -lXext -lX11 -lm 1>&5
config.log:ld: can't locate file for: -lttf
config.log:ld: warning can't open dynamic library: /sw/lib/libttf.2.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
configure: echo $ac_n "checking for TT_Init_FreeType in -lttf""... $ac_c" 1>&6
configure:echo "configure:8907: checking for TT_Init_FreeType in -lttf" >&5
configure:ac_lib_var=`echo ttf'_'TT_Init_FreeType | sed 'y%./+-%__p_%'`
configure:LIBS="-lttf $GRLIBS $LIBS"
configure: GRLIBS="-lttf $GRLIBS"
configure.in: AC_CHECK_LIB(ttf, TT_Init_FreeType, GRLIBS="-lttf $GRLIBS", , $GRLIBS)


Any ideas what the problem might be?

Thanks,
Charles


On Feb 6, 2004, at 11:35 AM, Alexander Hansen wrote:



On Feb 6, 2004, at 11:05 AM, Charles Williams wrote:


Thanks, Alexander. I had already found the problem by the time I got your e-mail (for some reason, it took my e-mail several days to show up). It looks like I'm going to have this problem indefinitely. I remove all of my freetype-hinting packages, which requires me to also remove ttfmkfontdir. Unfortunately, once I do this, Eterm stops working. The .info file for Eterm doesn't list this as a dependency, but:

otool -L /sw/bin/Eterm
/sw/bin/Eterm:
/sw/lib/libEterm-0.9.2.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/X11R6/lib/libXext.6.dylib (compatibility version 6.4.0, current version 6.4.0)
/sw/lib/libast.1.dylib (compatibility version 3.0.0, current version 3.0.0)
/sw/lib/libImlib2.1.dylib (compatibility version 3.0.0, current version 3.0.0)
/usr/X11R6/lib/libfreetype.6.dylib (compatibility version 6.3.0, current version 6.3.0)
/sw/lib/libttf.2.dylib (compatibility version 5.0.0, current version 5.0.0)
/sw/lib/libintl.1.dylib (compatibility version 2.0.0, current version 2.1.0)
/usr/X11R6/lib/libSM.6.dylib (compatibility version 6.0.0, current version 6.0.0)
/usr/X11R6/lib/libICE.6.dylib (compatibility version 6.3.0, current version 6.3.0)
/sw/lib/libpcre.0.dylib (compatibility version 1.0.0, current version 1.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.0.0)
/usr/X11R6/lib/libXmu.6.dylib (compatibility version 6.2.0, current version 6.2.0)
/usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0, current version 6.2.0)


So there is a dependency on libttf. To fix this, I then have to reinstall ttfmkfontdir, which causes freetype-hinting to be reinstalled. Is there a simple way around this problem?


I just built eterm on my box and have the following:


% otool -L /sw/bin/Eterm
/sw/bin/Eterm:
/sw/lib/libEterm-0.9.2.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/X11R6/lib/libXext.6.dylib (compatibility version 6.4.0, current version 6.4.0)
/sw/lib/libast.1.dylib (compatibility version 3.0.0, current version 3.0.0)
/sw/lib/libImlib2.1.dylib (compatibility version 3.0.0, current version 3.0.0)
/usr/X11R6/lib/libfreetype.6.dylib (compatibility version 6.3.0, current version 6.3.0)
/usr/X11R6/lib/libSM.6.dylib (compatibility version 6.0.0, current version 6.0.0)
/usr/X11R6/lib/libICE.6.dylib (compatibility version 6.3.0, current version 6.3.0)
/sw/lib/libpcre.0.dylib (compatibility version 1.0.0, current version 1.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.0.0)
/usr/X11R6/lib/libXmu.6.dylib (compatibility version 6.2.0, current version 6.2.0)
/usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0, current version 6.2.0)


Maybe a rebuild will do the trick.
--
Alexander K. Hansen
Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX


Charles A. Williams
Dept. of Earth & Environmental Sciences
Science Center, 2C01B
Rensselaer Polytechnic Institute
Troy, NY  12180
Phone:  (518) 276-3369
FAX:            (518) 276-2012
e-mail: [EMAIL PROTECTED]



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to