On 7/14/13 11:39 AM, Erin Katherine Olson wrote:
> Hi, I was hoping you could help me with an error. I am trying to install
> Octave on my machine, but keep getting the following error message:
>
>     clang: warning: argument unused during compilation: '-no-cpp-precomp'
>

A warning is almost always just that.  I know this particular one isn't 
fatal.  It's an older option which isn't needed on current OS X.

>
> It appears many times, but this is the chunk where it appears first:
>
>
>     sudo -u fink-bld [ENV] sh -c /tmp/fink.c8Yjy
>     env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner
>     --no-same-permissions -xf /sw/src/netpbm-10.47.44.tar.bz2
>     sudo -u fink-bld [ENV] sh -c /tmp/fink.9CeDq
>     [ -r /sw/fink/dists/stable/main/finkinfo/graphics/netpbm10.patch ]
>     sudo -u fink-bld [ENV] sh -c /tmp/fink.7ITGl
>     sed 's|@PREFIX@|/sw|g' <
>     /sw/fink/dists/stable/main/finkinfo/graphics/netpbm10.patch | patch -p1
>     patching file Makefile.config.fink
>     patching file buildtools/installnetpbm.pl
>     patching file converter/other/pnmtopng.c
>     patching file pm_config.in.h
>     Hunk #1 succeeded at 61 with fuzz 1.
>     cat config.mk.in Makefile.config.fink >config.mk
>     sudo -u fink-bld [ENV] sh -c /tmp/fink.oH2f5
>     make
>     /sw/src/fink.build/netpbm10-10.47.44-2/netpbm-10.47.44/common.mk:573: 
> depend.mk:
>     No such file or directory
>     cat /dev/null >depend.mk
>     make -C
>     /sw/src/fink.build/netpbm10-10.47.44-2/netpbm-10.47.44/buildtools/
>     -f
>     /sw/src/fink.build/netpbm10-10.47.44-2/netpbm-10.47.44/buildtools/Makefile
>     \
>         SRCDIR=/sw/src/fink.build/netpbm10-10.47.44-2/netpbm-10.47.44
>     BUILDDIR=/sw/src/fink.build/netpbm10-10.47.44-2/netpbm-10.47.44 typegen
>     /sw/src/fink.build/netpbm10-10.47.44-2/netpbm-10.47.44/common.mk:573: 
> depend.mk:
>     No such file or directory
>     cat /dev/null >depend.mk
>     cc -no-cpp-precomp -c -o typegen.o -O3 -ffast-math  -pedantic
>     -fno-common -Wall -Wno-uninitialized -Wmissing-declarations
>     -Wimplicit -Wwrite-strings -Wmissing-prototypes -Wundef -MD typegen.c
>     clang: warning: argument unused during compilation: '-no-cpp-precomp'
>
>
> I've attached the Terminal log below, starting from the command "sudo
> fink install octave-atlas".
>
> System information:
> Package manager version: 0.35.1
> Distribution version: selfupdate-rsync Sat Jul 13 15:36:38 2013, 10.7,
> x86_64
> Trees: local/main stable/main
> Xcode.app: 4.6.3
> Xcode command-line tools: 4.6.0.0.1.1365549073
> netpbm10-10.47.44-2 is set to build with only one job.
>
>

The actual error is below--the build can't find a jpeg library:

cc -no-cpp-precomp -o ppmtompeg \
           ppmtompeg.o mfwddct.o postdct.o huff.o bitio.o mheaders.o 
mpeg.o subsample.o param.o rgbtoycc.o readframe.o combine.o jrevdct.o 
frame.o fsize.o frametype.o specifics.o rate.o opts.o input.o parallel.o 
psocket.o gethostname.o frames.o iframe.o pframe.o bframe.o psearch.o 
bsearch.o block.o  jpeg.o 
-L/sw/src/fink.build/netpbm10-10.47.44-2/netpbm-10.47.44/lib -lnetpbm 
-ljpeg \
           -lm    \
        
clang: warning: argument unused during compilation: '-no-cpp-precomp'
ld: library not found for -ljpeg
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)

Interestingly enough, though, with the same listed Xcode command-line 
tools version on 10.8 I don't get any '-no-cpp-precomp' warnings, and 
the other warnings I get are slightly different.  What do you get if you run

cc --version

in a terminal window?
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to