Opened 15 years ago
Closed 15 years ago
#21649 closed defect (wontfix)
due to db46 dependency, python26 does not get installed on Mac 0S 10.6.1
Reported by: | ph.mignon@… | Owned by: | blair (Blair Zajac) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | python26 | Cc: | |
Port: | db46 |
Description
sudo port -dv install python26 > ~/Desktop/python26.log 2>&1 see attached file ... Error: The following dependencies failed to build: db46
Attachments (1)
Change History (9)
Changed 15 years ago by ph.mignon@…
Attachment: | python26.log added |
---|
comment:1 Changed 15 years ago by blb@…
Owner: | changed from macports-tickets@… to blair@… |
---|---|
Port: | db46 added; python26 removed |
comment:2 Changed 15 years ago by ph.mignon@…
I have moved db stuff from /usr/local/lib to a db subdir in /usr/local/lib. The problem is still there
sudo port install python26 ---> Computing dependencies for python26 ---> Building db46 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/work/db-4.6.21/build_unix" && /usr/bin/make -j2 all " returned error 2 Command output: /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.2 -c -O2 -arch x86_64 -I../dist/.. -I/opt/local/include -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers ../dist/../db_dump185/db_dump185.c /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.2 -c -I. -I../dist/.. -I/opt/local/include -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers -O2 -arch x86_64 ../dist/../db_archive/db_archive.c /usr/bin/gcc-4.2 -c -O2 -arch x86_64 -I../dist/.. -I/opt/local/include -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers ../dist/../db_dump185/db_dump185.c -fno-common -DPIC -o .libs/db_dump185.o /usr/bin/gcc-4.2 -c -I. -I../dist/.. -I/opt/local/include -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers -O2 -arch x86_64 ../dist/../db_archive/db_archive.c -fno-common -DPIC -o .libs/db_archive.o ../dist/../db_dump185/db_dump185.c: In function 'main': ../dist/../db_dump185/db_dump185.c:211: warning: assignment makes pointer from integer without a cast ../dist/../db_dump185/db_dump185.c:213: warning: assignment makes pointer from integer without a cast ../dist/../db_dump185/db_dump185.c:228: error: 'DB' has no member named 'seq' ../dist/../db_dump185/db_dump185.c:228: error: 'R_NEXT' undeclared (first use in this function) ../dist/../db_dump185/db_dump185.c:228: error: (Each undeclared identifier is reported only once ../dist/../db_dump185/db_dump185.c:228: error: for each function it appears in.) ../dist/../db_dump185/db_dump185.c:233: error: 'DB' has no member named 'seq' ../dist/../db_dump185/db_dump185.c: In function 'db_hash': ../dist/../db_dump185/db_dump185.c:261: error: 'DB' has no member named 'internal' ../dist/../db_dump185/db_dump185.c:263: error: 'DB' has no member named 'internal' ../dist/../db_dump185/db_dump185.c: In function 'db_btree': ../dist/../db_dump185/db_dump185.c:288: error: 'DB' has no member named 'internal' make: *** [db_dump185.lo] Error 1 make: *** Waiting for unfinished jobs.... /usr/bin/gcc-4.2 -c -I. -I../dist/.. -I/opt/local/include -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers -O2 -arch x86_64 ../dist/../db_archive/db_archive.c -o db_archive.o >/dev/null 2>&1 Error: The following dependencies failed to build: db46 Error: Status 1 encountered during processing.
comment:3 Changed 15 years ago by blair (Blair Zajac)
Did you do a
port clean db46
after moving the /usr/local stuff? If not, then do that first.
comment:4 Changed 15 years ago by ph.mignon@…
I did a port clean db46 after moving the db stuff in the /usr/local/ dir. db46 still does not compile.
comment:5 Changed 15 years ago by blb@…
Make sure you also move /usr/local/include aside as it may have headers getting in the way.
comment:6 Changed 15 years ago by blair (Blair Zajac)
To be totally safe, move your entire /usr/local out of the way.
comment:7 Changed 15 years ago by ph.mignon@…
Thank you for the advise. python26 is correctly installed.
sudo mv local local_tmp sudo port clean db46 sudo port install python26 sudo mv local_tmp/ local
comment:8 Changed 15 years ago by blair (Blair Zajac)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Great! Glad that it works.
Possibly like #19918? Check to see you don't have anything odd in /usr/local.