[MacPorts] #18326: texlive_base: library not found -lSM
#18326: texlive_base: library not found -lSM ---------------------------------+------------------------------------------ Reporter: milosh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: texlive_base lSM | Port: texlive_base xorgs-lsm ---------------------------------+------------------------------------------ Reported by Norman MacIntyre The port texlive_base does not build correctly on a PPC running OS X 10.5.6. {{{ /usr/bin/gcc-4.0 -I. -I/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/ libs/freetype/test/arch/unix/../.. -I.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/ libs/freetype/test/arch/unix/../../../lib -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/ libs/freetype/test/arch/unix/../../../lib/extend -O2 -isystem/opt/ local/include -DX11 -DLOCALEDIR=\"\" -o ftdump ftdump.o common.o ../ lib/.libs/libttf.a -lm -lSM -lICE -lm ld: library not found for -lSM }}} Note: this seems similar to bug #18206. -- Ticket URL: <http://trac.macports.org/ticket/18326> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18326: texlive_base: library not found -lSM ---------------------------------+------------------------------------------ Reporter: milosh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: texlive_base lSM | Port: texlive_base xorgs-lsm ---------------------------------+------------------------------------------ Comment(by evan@…): I am experiencing this issue too. The odd thing is that libsm is installed. The error text I get is: {{{ ---> Building texlive_base Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007" && make all " returned error 2 Command output: make[2]: Making `all' in `uconv' DYLD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$DYLD_LIBRARY_PATH ../../bin/pkgdata -p uconvmsg -O pkgdata.inc -m static -s uconvmsg -d uconvmsg -T uconvmsg uconvmsg/uconvmsg.lst gnumake[4]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-local'. make[1]: Making `all' in `samples' make[2]: Making `all' in `date' make[3]: Nothing to be done for `all'. make[2]: Making `all' in `cal' make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-local'. make[1]: Making `all' in `test' make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all-local'. making all in libs/freetype cd lib; make -f arch/unix/Makefile all rm -f memory.c file.c mutex.c ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/lib/arch/unix/../../ttmemory.c memory.c ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/lib/arch/unix/../../arch/unix/ttmmap.c file.c ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/lib/arch/unix/../../ttmutex.c mutex.c make -f arch/unix/Makefile LIB_FILES="freetype.lo ftxkern.lo ftxgasp.lo ftxpost.lo ftxcmap.lo ftxsbit.lo ftxwidth.lo ftxerr18.lo ftxgsub.lo ftxgpos.lo ftxgdef.lo ftxopen.lo" libttf.la make[3]: `libttf.la' is up to date. cd test; make -f arch/unix/Makefile all ../libtool --mode=link /usr/bin/gcc-4.0 -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/test/arch/unix/../.. -I.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/test/arch/unix/../../../lib -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/test/arch/unix/../../../lib/extend -O2 -isystem/opt/local/include -DX11 -DLOCALEDIR='""' -o ftdump ftdump.o common.o \ ../lib/libttf.la -lSM -lICE -lm /usr/bin/gcc-4.0 -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/test/arch/unix/../.. -I.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/test/arch/unix/../../../lib -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/test/arch/unix/../../../lib/extend -O2 -isystem/opt/local/include -DX11 -DLOCALEDIR=\"\" -o ftdump ftdump.o common.o ../lib/.libs/libttf.a -lm -lSM -lICE -lm ld: library not found for -lSM collect2: ld returned 1 exit status make[2]: *** [ftdump] Error 1 make[1]: *** [tttest] Error 2 make: *** [all] Error 1 Error: The following dependencies failed to build: texlive_base Error: Status 1 encountered during processing. }}} And yet I have on this machine: {{{ tianyi-suns-macbook-pro-15:Resume tianyi$ find /opt -name 'libSM*' /opt/local/lib/libSM.6.0.0.dylib /opt/local/lib/libSM.6.dylib /opt/local/lib/libSM.a /opt/local/lib/libSM.dylib /opt/local/lib/libSM.la /opt/local/var/macports/distfiles/xorg-libsm/libSM-1.1.0.tar.bz2 /opt/local/var/macports/software/xorg- libsm/1.1.0_0/opt/local/lib/libSM.6.0.0.dylib /opt/local/var/macports/software/xorg- libsm/1.1.0_0/opt/local/lib/libSM.6.dylib /opt/local/var/macports/software/xorg-libsm/1.1.0_0/opt/local/lib/libSM.a /opt/local/var/macports/software/xorg- libsm/1.1.0_0/opt/local/lib/libSM.dylib /opt/local/var/macports/software/xorg-libsm/1.1.0_0/opt/local/lib/libSM.la }}} This computer is Intel architecture, OS X 10.5.6. -- Ticket URL: <http://trac.macports.org/ticket/18326#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18326: texlive_base: library not found -lSM ---------------------------------+------------------------------------------ Reporter: milosh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: texlive_base lSM | Port: texlive_base xorgs-lsm ---------------------------------+------------------------------------------ Comment(by evan@…): I don't have the computer with me so I can't give you better details, but I ended up hacking this to get it working, and just thought I'd share what it was that I did. It turns out that the Makefile under {{{work/texlive_base-2007/libs/freetype}}} wasn't searching in {{{/opt/local/lib}}} so I hacked that Makefile to do {{{-L/opt/local/lib}}}, and from there I was able to build and install this port. I guess whoever fixes this probably needs to patch the code to have {{{libs/freetype}}} respect the library settings set further up in the texlive source code, but I'm not really familiar with how all that works. -- Ticket URL: <http://trac.macports.org/ticket/18326#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18326: texlive_base: library not found -lSM -------------------------------------+-------------------------------------- Reporter: milosh@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: texlive_base lSM Port: texlive_base xorgs-lsm | -------------------------------------+-------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: Was fixed in r50543. -- Ticket URL: <http://trac.macports.org/ticket/18326#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts