logo       

Re: Trouble porting ethereal: msg#00582

Subject: Re: Trouble porting ethereal
Folks:

I still have trouble porting ethereal after re-installing the base
infrastructure (using the directions on
http://darwinports.opendarwin.org/docs/ch01s04.html#updating_dports). 

The update apparently worked OK, but I run up against the -arch i386 argument
problem when it hits the lemon.c code. I've attached the output to the end of
this message.

Any further ideas? Many thanks.

Rich Brown                    richard.e.brown@xxxxxxxxxxxx
Dartware, LLC                 http://www.dartware.com
10 Buck Road, PO Box 130      Telephone: 603-643-2268
Hanover, NH 03755-0130 USA    Fax: 603-643-2289

--------------------
[Richard-E-Browns-Computer:~/darwinports/base] richb% sudo port install 
ethereal 
--->  Fetching ethereal
--->  Verifying checksum for ethereal
--->  Extracting ethereal
--->  Configuring ethereal
--->  Building ethereal with target all
Error: Target com.apple.build returned: shell command "cd
"/Users/richb/darwinports/dports/net/ethereal/work/ethereal-0.10.0a" && make
all" returned error 2
Command output: make  all-recursive
Making all in tools
Making all in lemon
source='lemon.c' object='lemon.o' libtool=no \
depfile='.deps/lemon.Po' tmpdepfile='.deps/lemon.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../..   -arch i386 -arch ppc -g -Os -pipe -arch
i386 -arch ppc -pipe -Ddarwin7 -I. -I/usr/include  -DINET6 -no-cpp-precomp
-D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include
-I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/atk-1.0 -I/opt/local/include/pango-1.0 -I/opt/local/include
-I/opt/local/include/freetype2 -I/usr/X11R6/include
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include  
-I/opt/local/include -arch i386 -arch ppc -g -Os -pipe -arch i386 -arch ppc
-pipe -Ddarwin7 -I. -I/usr/include -c `test -f 'lemon.c' || echo './'`lemon.c
gcc: cannot read specs file for arch `i386'
make[3]: *** [lemon.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


<Prev in Thread] Current Thread [Next in Thread>