Unable to Install db44

fclee at dialup4less.com fclee at dialup4less.com
Wed Oct 10 14:10:29 PDT 2007


I downloaded apache2 stuff independently from MacPorts and chose to install it at /usr/local.

[/usr/local]ls
BerkeleyDB.4.5/                 info/                           mysql-5.1.21-beta-osx10.4-i686/
PEAR-1.6.1/                     lib/                            php5/
bin/                            lynx/                           share/
httpd-2.2.6/                    man/                            src/
httpd-2.2.6.tar.gz              mysql@                          svn_installer_backup/
include/                        mysql-5.1.18-beta-osx10.4-i686/

------------------

..whether I install Apache2 via MacPorts or solo, I end up with the same problem with db44.

Ric.



On 10/Oct/2007 14:02 paul beard wrote ..
> On 10/10/07, fclee at dialup4less.com <fclee at dialup4less.com> wrote:
> > Greetings:
> >    I'm trying to configure Apache2 which depends on other installed files.  Down
> the line I noticed that I need db44 but I can't install db44:
> >
> > [/usr/local/httpd-2.2.6]port installed db44
> > None of the specified ports are installed.
> >
> > [/usr/local/httpd-2.2.6]sudo port install db44
> > --->  Building db44 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_databases_db44/work/db-4.4.20/build_unix"
> && make all " returned error 2
> > Command output: /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -c -O2  -I../dist/..
> -I/opt/local/include ../dist/../db_dump185/db_dump185.c
> >  /usr/bin/gcc-4.0 -c -O2 -I../dist/.. -I/opt/local/include ../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:212: warning: assignment makes pointer from
> integer without a cast
> > ./dist/../db_dump185/db_dump185.c:214: warning: assignment makes pointer from
> integer without a cast
> > ./dist/../db_dump185/db_dump185.c:229: error: 'struct __db' has no member named
> 'seq'
> > ./dist/../db_dump185/db_dump185.c:229: error: 'R_NEXT' undeclared (first use
> in this function)
> > ./dist/../db_dump185/db_dump185.c:229: error: (Each undeclared identifier is
> reported only once
> > ./dist/../db_dump185/db_dump185.c:229: error: for each function it appears in.)
> > ./dist/../db_dump185/db_dump185.c:234: error: 'struct __db' has no member named
> 'seq'
> > ./dist/../db_dump185/db_dump185.c: In function 'db_hash':
> > ./dist/../db_dump185/db_dump185.c:262: error: 'struct __db' has no member named
> 'internal'
> > ./dist/../db_dump185/db_dump185.c:264: error: 'struct __db' has no member named
> 'internal'
> > ./dist/../db_dump185/db_dump185.c: In function 'db_btree':
> > ./dist/../db_dump185/db_dump185.c:289: error: 'struct __db' has no member named
> 'internal'
> > make: *** [db_dump185.lo] Error 1
> >
> > Error: Status 1 encountered during processing.
> >
> > [/usr/local/httpd-2.2.6]
> >
> > .
> >
> > Now what do I do?
> 
> what's the /usr/local stuff doing in here?
> 
> 
> -- 
> Paul Beard / www.paulbeard.org/
> <paulbeard at gmail.com/paulbeard at mac.com>


More information about the macports-users mailing list