compile GNOME under Leopard/Intel

William Davis frstan at bellsouth.net
Sat Nov 10 18:04:50 PST 2007


Using the order of compilation of files given on the Installing GNOME  
2.20 page at www.gnome.org, I installed individually each componet of  
the GNOME system using:
sudo port -dfun upgrade foo  (or install in a few cases)

Im pleased to say that everything except 4 programs complied. The  
exceptions were:


poppler:

creating libpoppler-qt4.la
(cd .libs && rm -f libpoppler-qt4.la && ln -s ../libpoppler-qt4.la  
libpoppler-qt4.la)
Making all in tests
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../poppler -I../.. -I../../ 
poppler -I../../qt4/src -I../../qt -I/opt/local/include   -DQT_SHARED - 
I/opt/local/include/qt4 -I/opt/local/include/qt4/QtCore -I/opt/local/ 
include/qt4/QtGui -I/opt/local/include/qt4/QtXml    -I/opt/local/ 
include  -Wall -Wno-unused -O2 -MT test-poppler-qt4.o -MD -MP -MF  
".deps/test-poppler-qt4.Tpo" -c -o test-poppler-qt4.o test-poppler- 
qt4.cpp; \
	then mv -f ".deps/test-poppler-qt4.Tpo" ".deps/test-poppler-qt4.Po";  
else rm -f ".deps/test-poppler-qt4.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CXX --mode=link g++  -Wall -Wno-unused - 
O2  -L/opt/local/lib -o test-poppler-qt4  test-poppler-qt4.o ../../ 
poppler/libpoppler.la ../../qt4/src/libpoppler-qt4.la -L/opt/local/lib  
-lfontconfig -lexpat   -framework ApplicationServices -framework  
Carbon -framework AppKit -L/opt/local/lib -L/opt/local/var/macports/ 
build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource- 
src-4.3.2/lib -lQtGui -lpng -lQtXml -lQtTest -lQtCore -lz -lm - 
liconv   -lz
mkdir .libs
libtool: link: cannot find the library `' or unhandled argument `Carbon'
make[3]: *** [test-poppler-qt4] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Warning: the following items did not execute (for poppler):  
org.macports.activate org.macports.build org.macports.destroot  
org.macports.install
Error: Status 1 encountered during processing.

liboobs:

checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OOBS... yes
checking for crypt in -lcrypt... no
configure: error: crypt library is required.

Warning: the following items did not execute (for liboobs):  
org.macports.activate org.macports.configure org.macports.build  
org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

firefox-x11:

gmake[5]: Entering directory `/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_www_firefox-x11/work/mozilla/nsprpub/pr/ 
src/linking'
gcc -o prlink.o -c    -I/opt/local/include -O2 -pipe -Wmost -fno- 
common -no-cpp-precomp -pthread -O2 -fPIC  -UDEBUG  -DMOZILLA_CLIENT=1  
-DNDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DXP_UNIX=1 -DDARWIN=1  
-DHAVE_BSD_FLOCK=1 -Di386=1 -DXP_MACOSX=1 -DHAVE_LCHOWN=1 - 
DHAVE_STRERROR=1  -DFORCE_PR_LOG -D_PR_PTHREADS - 
UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_www_firefox-x11/work/mozilla/dist/include/ 
nspr -I../../../pr/include -I../../../pr/include/private -I/Developer/ 
Headers/FlatCarbon  prlink.c
In file included from /System/Library/Frameworks/ 
CoreFoundation.framework/Headers/CoreFoundation.h:21,
                  from /System/Library/Frameworks/ 
CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ 
CarbonCore.h:20,
                  from /System/Library/Frameworks/ 
CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
                  from /System/Library/Frameworks/ 
CoreServices.framework/Headers/CoreServices.h:21,
                  from /Developer/Headers/FlatCarbon/CodeFragments.h:1,
                  from prlink.c:48:
/usr/include/signal.h:84: error: syntax error before numeric constant
prlink.c: In function 'pr_LoadViaCFM':
prlink.c:701: warning: 'ResolveAliasFile' is deprecated (declared at / 
System/Library/Frameworks/CoreServices.framework/Frameworks/ 
CarbonCore.framework/Headers/Aliases.h:1035)
prlink.c: In function 'pr_FindSymbolInLib':
prlink.c:1400: warning: 'c2pstrcpy' is deprecated (declared at /System/ 
Library/Frameworks/CoreServices.framework/Frameworks/ 
CarbonCore.framework/Headers/TextUtils.h:578)
prlink.c: In function 'PR_GetLibraryFilePathname':
prlink.c:1629: warning: assignment discards qualifiers from pointer  
target type
gmake[5]: *** [prlink.o] Error 1
gmake[5]: Leaving directory `/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_www_firefox-x11/work/mozilla/nsprpub/pr/ 
src/linking'
gmake[4]: *** [export] Error 2
gmake[4]: Leaving directory `/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_www_firefox-x11/work/mozilla/nsprpub/pr/src'
gmake[3]: *** [export] Error 2
gmake[3]: Leaving directory `/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_www_firefox-x11/work/mozilla/nsprpub/pr'
gmake[2]: *** [export] Error 2

devhelp:

would not compile -- mozilla lacking

mozilla:

would not complie -- many many "depreciated" errors (note: errors not  
warnings)

and it doesnt appear to me that Leopard had anything to do with these  
errors.


I hope this is of some interest as it took a *very* long time....... :)


William Davis
frstanATbellsouthDOTnet
Mac OS X.5.0 Darwin 9.0.0
Mac Mini Intel Duo @ 1.86 GHz

Mundus vult decepi, ego non

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20071110/94968106/attachment-0001.html


More information about the macports-users mailing list