Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#28959 closed defect (duplicate)

db46 installation failed — at Version 1

Reported by: leandroal@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: blair@…
Port: db46

Description (last modified by jmroot (Joshua Root))

Hi folks,

I'm trying to install db46 package as it is a dependency for many of applications I need to install. I have the problem shown below and I already tried every suggestion provided in others discussions list, including the one to rename the /usr/local directory, but no luck. Please, consider fix the problem and please let me know if I can help in anything:

(...)

/usr/bin/gcc-4.2 -c -I. -I../dist/.. -I/opt/local/include -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers -pipe -O2 -arch x86_64 -fno-strict-aliasing ../dist/../libdb_java/db_java_wrap.c -o db_java_wrap.o >/dev/null 2>&1
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
cd ./classes && jar cf ../db.jar ./com/sleepycat
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.2 -c -pipe -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
 /usr/bin/gcc-4.2 -c -pipe -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
../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....
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
Error: Target org.macports.build returned: shell command failed (see log for details)
Warning: the following items did not execute (for db46): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for db46 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

sh-3.2# port version
Version: 1.9.2

Thank you, Leandro.

Change History (1)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Cc: blair@… added; leandroal@… removed
Description: modified (diff)
Port: db46 added
Resolution: duplicate
Status: newclosed

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer. You do not need to be in cc when you are the reporter.

This is a duplicate of #18113; please search before filing new tickets.

Note: See TracTickets for help on using tickets.