OK, I have it fixed.
William G. Scott Professor Department of Chemistry and Biochemistry and The Center for the Molecular Biology of RNA 228 Sinsheimer Laboratories University of California at Santa Cruz Santa Cruz, California 95064 USA phone: +1-831-459-5367 (office) +1-831-459-5292 (lab) fax: +1-831-4593139 (fax) email: wgsc...@ucsc.edu On Apr 28, 2012, at 1:52 PM, Alexander Hansen wrote: > On 4/28/12 12:09 PM, John Wiggins wrote: >> Hi, >> >> Per the instructions I'm notifying you of the failure I see, trying to >> install a2ps after copy from >> /sw/fink/10.4/stable/main/finkinfo/utils >> to >> /sw/fink/10.7/local/main/finkinfo/ >> >> $ fink list | grep a2ps >> a2ps 4.13-3 Any to PostScript filter >> $ >> >> Please note I am able to do a non-fink build/install >> /a2ps-4.14 >> into >> /usr/local/bin/a2ps >> from >> http://www.gnu.org/software/a2ps/ >> after removing a faulty/unnecessary declararation in file xstrrpl.c >> $ diff xstrrpl.c xstrrpl.c.bak >> 24a25,26 >> > extern char * stpcpy(); >> > >> $ >> >> This is what I did to install: >> >> ./configure --with-medium=letter >> make >> make install >> $ which a2ps >> /usr/local/bin/a2ps >> $ >> >> tks, >> jw >> >> >> >> >> >> ________ >> >> fink install a2ps 2>&1 | tee install.a2ps_28apr12 2>&1 >> Setting runtime build-lock... >> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-a2ps-4.13-3 >> /sw/src/fink.build >> dpkg-deb: building package `fink-buildlock-a2ps-4.13-3' in >> `/sw/src/fink.build/fink-buildlock-a2ps-4.13-3_2012.04.28-11.24.48_darwin-x86_64.deb'. >> Installing build-lock package... >> /sw/bin/dpkg-lockwait -i >> /sw/src/fink.build/fink-buildlock-a2ps-4.13-3_2012.04.28-11.24.48_darwin-x86_64.deb >> Selecting previously deselected package fink-buildlock-a2ps-4.13-3. >> (Reading database ... 33001 files and directories currently installed.) >> Unpacking fink-buildlock-a2ps-4.13-3 (from >> .../fink-buildlock-a2ps-4.13-3_2012.04.28-11.24.48_darwin-x86_64.deb) ... >> Setting up fink-buildlock-a2ps-4.13-3 (2012.04.28-11.24.48) ... >> >> /sw/bin/tar --no-same-owner --no-same-permissions -xf >> /sw/src/a2ps-4.13.tar.gz >> ....snip.... >> >> 3 warnings generated. >> /bin/sh ../libtool --mode=link gcc -g -O2 -L/sw/lib -o a2ps main.o >> read.o sshread.o ssheet.o select.o generate.o delegate.o regex.o buf >> fer.o versions.o ffaces.o version-etc.o long-options.o parsessh.o lexssh.o >> lexps.o sheets-map.o ../lib/liba2ps.la -lfl -lm -lintl -lpape >> r >> mkdir .libs >> gcc -g -O2 -L/sw/lib -o a2ps main.o read.o sshread.o ssheet.o select.o >> generate.o delegate.o regex.o buffer.o versions.o ffaces.o versi >> on-etc.o long-options.o parsessh.o lexssh.o lexps.o sheets-map.o >> ../lib/.libs/liba2ps.a -lintl -lpaper -lfl -lm -lintl -lpaper >> Undefined symbols for architecture x86_64: >> "_in_word_set", referenced from: >> _a2_read_config in liba2ps.a(confg.o) >> ld: symbol(s) not found for architecture x86_64 >> clang: error: linker command failed with exit code 1 (use -v to see >> invocation) >> make[2]: *** [a2ps] Error 1 >> make[1]: *** [all-recursive] Error 1 >> make: *** [all-recursive-am] Error 2 >> ### execution of make failed, exit code 2 >> Removing runtime build-lock... >> Removing build-lock package... >> /sw/bin/dpkg-lockwait -r fink-buildlock-a2ps-4.13-3 >> (Reading database ... 33002 files and directories currently installed.) >> Removing fink-buildlock-a2ps-4.13-3 ... >> Failed: phase compiling: a2ps-4.13-3 failed >> >> Before reporting any errors, please run "fink selfupdate" and try again. >> >> If you continue to have issues, please check to see if the FAQ on Fink's >> website solves the problem. If not, ask on one (not both, please) of >> these mailing lists: >> >> The Fink Users List <fink-users@lists.sourceforge.net> >> The Fink Beginners List <fink-beginn...@lists.sourceforge.net>, >> >> with a carbon copy to the maintainer: >> >> W. G. Scott <wgsc...@users.sourceforge.net> >> >> Note that this is preferable to emailing just the maintainer directly, >> since most fink package maintainers do not have access to all possible >> hardware and software configurations. >> >> Please try to include the complete error message in your report. This >> generally consists of a compiler line starting with e.g. "gcc" or "g++" >> followed by the actual error output from the compiler. >> >> Also include the following system information: >> Package manager version: 0.32.6 >> Distribution version: selfupdate-rsync Sat Apr 28 11:19:19 2012, 10.7, x86_64 >> Trees: local/main stable/main >> No recognized Xcode installed >> Max. Fink build jobs: 1 >> >> (END) >> > > How about if you modify your a2ps.info for version 4.14 and use a > PatchScript to patch xstrrpl.c? Can you build that version with Fink? > > > One potentially important distinction between your hand-builds and Fink > builds is that we normally use clang and clang++ as the C/C++ compilers, > unless a package says otherwise. You're probably using llvm-gcc and > llvm-g++, since those are the default "gcc" and "g++", and some packages > are known not to build with clang but are OK with llvm-gcc (and vice versa). > > -- > Alexander Hansen, Ph.D. > Fink User Liaison > http://finkakh.wordpress.com/2012/02/21/got-job/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users