Hello All,
I am new to fink, but not package managers. I'm trying to install/build the
geda-bundle package, which contains a number of applications. Ironically,
the only one I really need to use is the only one which won't build. It
looks like the X11 library is not being found, but I am not sure how to
resolve this (or troubleshoot why.) the geda-bundle contains other X11
applications (such as pcb) which complied and runs fine.
I'm running OS X 10.5.6
XCode
XQuartz 2.3.2 (x-org server 1.4.2-apple13)
Here is the call to gcc that returns the failure:
gcc -Wall -g -O2 -L/sw/lib -o gschem a_pan.o a_zoom.o g_register.o g_hook.o
g_rc.o g_keys.o g_funcs.o globals.o gschem.o i_basic.o i_callbacks.o
i_vars.o o_basic.o o_attrib.o o_move.o o_copy.o o_delete.o o_misc.o o_slot.o
o_grips.o o_arc.o o_box.o o_circle.o o_complex.o o_select.o o_find.o
o_line.o o_net.o o_text.o o_pin.o o_bus.o o_buffer.o o_undo.o o_picture.o
x_autonumber.o x_basic.o x_dialog.o x_event.o x_grid.o x_log.o x_menus.o
x_script.o x_pagesel.o x_print.o x_window.o x_stroke.o x_image.o x_color.o
x_compselect.o x_fileselect.o x_preview.o x_attribedit.o x_multiattrib.o
parsecmd.o o_cue.o gschem_dialog.o gschem_toplevel.o -L/sw/lib -lstroke
-I/sw/include -L/sw/lib -Dmacosx -D_THREAD_SAFE -lgeda -lguile -lgmp -lm
-lltdl -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -L/sw/lib
-L/sw/lib/fontconfig2/lib -Wl,-framework,CoreServices
-Wl,-framework,ApplicationServices -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo
-lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0
-lglib-2.0 -lintl -lX11 -lm -L/sw/lib -lgthread-2.0 -lglib-2.0 -lintl
-lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation
ld: library not found for -lX11
collect2: ld returned 1 exit status
make[2]: *** [gschem] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /var/tmp/tmp.1.TVzGA9 failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-geda-gschem-1.4.3-11
(Reading database ... 45120 files and directories currently installed.)
Removing fink-buildlock-geda-gschem-1.4.3-11 ...
Failed: phase compiling: geda-gschem-1.4.3-11 failed
Based on the fink FAQ, I did several interations of fink selfupdate,
update-all, index, etc. However, none of these seem to help. I even
followed the advice on the X11 FAQ to clear out all X packages and
re-install X11 (XQuartz in my case). Again, no joy.
Also, here is a partial output of fink-virtual-pkgs --debug. Which, to me,
looks like X11 was found and linked correctly:
- checking for library libX11.6.dylib... found in /usr/X11R6/lib
- checking for X servers... /usr/X11R6/bin/Xquartz
- system-xfree86-shlibs provides x11-shlibs
- found an X server, system-xfree86 provides xserver and x11
- checking for header X11/Xlib.h... found in /usr/X11R6/include
- system-xfree86-dev provides x11-dev
- checking for library libGL.1.dylib... found in /usr/X11R6/lib
- system-xfree86-shlibs provides libgl-shlibs
- system-xfree86 provides libgl
- checking for header GL/gl.h... found in /usr/X11R6/include
- checking for library libGL.dylib... found in /usr/X11R6/lib
- system-xfree86-dev provides libgl-dev
- checking for library libXft.1.dylib... missing
- checking for library libXft.2.dylib... found in /usr/X11R6/lib
- system-xfree86-shlibs provides xft2-shlibs
- checking for library libXft.dylib... found in /usr/X11R6/lib
- libXft points to Xft2
- system-xfree86-dev provides xft2-dev
- system-xfree86 provides xft2
- checking for library libfontconfig.1.dylib... found in /usr/X11R6/lib
- system-xfree86-shlibs provides fontconfig1-shlibs
- checking for library libfontconfig.dylib... found in /usr/X11R6/lib
- checking for header fontconfig/fontconfig.h... found in /usr/X11R6/include
- libfontconfig points to fontconfig1
- system-xfree86-dev provides fontconfig1-dev
- system-xfree86 provides fontconfig1
- checking for rman... /usr/X11R6... missing
I'm open to suggestions on how to proceed or requests for more information
on resolving this issue.
Thanks,
James
------------------------------------------------------------------------------
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners