Re: problem using port to install gnucash on mac 10.5
On Jan 6, 2008, at 6:28 PM, Some Guy wrote:
I have re-installed dbus-python25 and tried again to install gnucash but it fails again at this point :(
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/ opt/local/include/python2.5 -c _hashopenssl.c -o build/temp.macosx- 10.3-i386-2.5/_hashopenssl.o unable to execute -DNDEBUG: No such file or directory error: command '-DNDEBUG' failed with exit status 1
This a hairy bug which is affecting recently the sequential build of Python packages: simply note that the compiler name is missing. You have to clean the Python port which stopped the build process ("sudo port clean py25-hashlib" in your case) and relaunch the original port command. -- Guido
thanks now the problem is with firefox-x11 ---> Building firefox-x11 with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla" && make all " returned error 2 Command output: mv -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/dist/include/nspr/_darwin.cfg /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/dist/include/nspr/prcpucfg.h cd private; /usr/bin/make export ../../../config/./nsinstall -L /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/nsprpub/pr/include/private -m 444 ./pprio.h ./pprthred.h ./prpriv.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/dist/include/nspr/private cd obsolete; /usr/bin/make export ../../../config/./nsinstall -L /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/nsprpub/pr/include/obsolete -m 444 ./pralarm.h ./probslet.h ./protypes.h ./prsem.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/dist/include/nspr/obsolete ../../config/./nsinstall -L /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/nsprpub/pr/include -m 444 ./nspr.h ./pratom.h ./prbit.h ./prclist.h ./prcmon.h ./prcountr.h ./prcvar.h ./prdtoa.h ./prenv.h ./prerr.h ./prerror.h ./prinet.h ./prinit.h ./prinrval.h ./prio.h ./pripcsem.h ./prlink.h ./prlock.h ./prlog.h ./prlong.h ./prmem.h ./prmon.h ./prmwait.h ./prnetdb.h ./prolock.h ./prpdce.h ./prprf.h ./prproces.h ./prrng.h ./prrwlock.h ./prshm.h ./prshma.h ./prsystem.h ./prthread.h ./prtime.h ./prtpool.h ./prtrace.h ./prtypes.h ./prvrsion.h ./prwin16.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/dist/include/nspr cd src; /usr/bin/make export cd io; /usr/bin/make export make[5]: Nothing to be done for `export'. cd linking; /usr/bin/make export /usr/bin/gcc-4.0 -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 make[5]: *** [prlink.o] Error 1 make[4]: *** [export] Error 2 make[3]: *** [export] Error 2 make[2]: *** [export] Error 2 make[1]: *** [nspr] Error 2 make: *** [all] Error 2 Error: The following dependencies failed to build: gnucash-docs yelp firefox-x11 libgtkhtml goffice03 libgnomeprintui libgnomeprint bison libgnomecups pcre guile16 readline ncurses ncursesw gawk libgtkhtml3 p5-finance-quote p5-crypt-ssleay p5-libwww-perl p5-compress-zlib p5-compress-raw-zlib p5-io-compress-base p5-scalar-list-utils p5-io-compress-zlib p5-html-parser p5-html-tagset p5-uri p5-datemanip p5-html-tableextract slib slib-guile16 Error: Status 1 encountered during processing. On Jan 6, 2008 6:04 PM, Guido Soranzio <guido.soranzio@gmail.com> wrote:
On Jan 6, 2008, at 6:28 PM, Some Guy wrote:
I have re-installed dbus-python25 and tried again to install gnucash but it fails again at this point :(
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/ opt/local/include/python2.5 -c _hashopenssl.c -o build/temp.macosx- 10.3-i386-2.5/_hashopenssl.o unable to execute -DNDEBUG: No such file or directory error: command '-DNDEBUG' failed with exit status 1
This a hairy bug which is affecting recently the sequential build of Python packages: simply note that the compiler name is missing.
You have to clean the Python port which stopped the build process ("sudo port clean py25-hashlib" in your case) and relaunch the original port command.
-- Guido _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
participants (2)
-
Guido Soranzio
-
Some Guy