Thread View: news.software.nntp
4 messages
4 total messages
Started by Gudlyf
Fri, 02 Mar 2001 19:29
Strange inn compilation error
Author: Gudlyf
Date: Fri, 02 Mar 2001 19:29
Date: Fri, 02 Mar 2001 19:29
38 lines
2199 bytes
2199 bytes
Red Hat Linux 7.0 (kernel 2.2.16, glib-1.2.8-4) When I try install INN-2.3.1: # ./configure works. But... # make . . . cd authprogs && make all make[1]: Entering directory `/usr/src/inn-2.3.1/authprogs' gcc -g -O2 -I../include -c ckpasswd.c -o ckpasswd.o gcc -o ckpasswd ckpasswd.o -lresolv -lcrypt ckpasswd.o: In function `GetDBPass': /usr/src/inn-2.3.1/authprogs/ckpasswd.c:89: undefined reference to `dbm_open' /usr/src/inn-2.3.1/authprogs/ckpasswd.c:94: undefined reference to `dbm_fetch' /usr/src/inn-2.3.1/authprogs/ckpasswd.c:96: undefined reference to `dbm_close' /usr/src/inn-2.3.1/authprogs/ckpasswd.c:101: undefined reference to `dbm_close' collect2: ld returned 1 exit status make[1]: *** [ckpasswd] Error 1 make[1]: Leaving directory `/usr/src/inn-2.3.1/authprogs' make: *** [all-authprogs] Error 2 I don't configure --with-berkeleydb. Any ideas what's wrong? Even using --without-berkleydb or --with-berkleydb=/path/to/bdb produce errors. Thanks, Gudlyf
Re: Strange inn compilation error
Author: Russ Allbery
Date: Fri, 02 Mar 2001 23:05
Date: Fri, 02 Mar 2001 23:05
35 lines
2179 bytes
2179 bytes
Gudlyf <gudlyf@usa.NOSPAM.net> writes:
> Red Hat Linux 7.0 (kernel 2.2.16, glib-1.2.8-4)
> When I try install INN-2.3.1:
> # ./configure
> works. But...
> # make
> . . .
> cd authprogs && make all
> make[1]: Entering directory `/usr/src/inn-2.3.1/authprogs'
> gcc -g -O2 -I../include -c ckpasswd.c -o ckpasswd.o
> gcc -o ckpasswd ckpasswd.o -lresolv -lcrypt
> ckpasswd.o: In function `GetDBPass':
> /usr/src/inn-2.3.1/authprogs/ckpasswd.c:89: undefined reference to
> `dbm_open'
> /usr/src/inn-2.3.1/authprogs/ckpasswd.c:94: undefined reference to
> `dbm_fetch'
> /usr/src/inn-2.3.1/authprogs/ckpasswd.c:96: undefined reference to
> `dbm_close'
> /usr/src/inn-2.3.1/authprogs/ckpasswd.c:101: undefined reference to
> `dbm_close'
It couldn't find gdbm or db (1.x) on your system. Try installing the -dev
package for either gdbm or db 1.x. (Need to fix ckpasswd so that it
doesn't even try if it can't find a library containing those functions.)
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Strange inn compilation error
Author: Gudlyf
Date: Tue, 06 Mar 2001 18:20
Date: Tue, 06 Mar 2001 18:20
46 lines
2683 bytes
2683 bytes
All of the db and gdbm packages are installed, along with the -dev packages. I installed them in their default areas, so I have no clue why they aren't getting seen. Any other ideas? There's nothing special about this linux system, so I'm surprised nobody else is reporting this problem. Thanks "Russ Allbery" <rra@stanford.edu> wrote in message news:yl66hrvkjz.fsf@windlord.stanford.edu... > Gudlyf <gudlyf@usa.NOSPAM.net> writes: > > > Red Hat Linux 7.0 (kernel 2.2.16, glib-1.2.8-4) > > When I try install INN-2.3.1: > > > # ./configure > > > works. But... > > > # make > > . . . > > cd authprogs && make all > > make[1]: Entering directory `/usr/src/inn-2.3.1/authprogs' > > gcc -g -O2 -I../include -c ckpasswd.c -o ckpasswd.o > > gcc -o ckpasswd ckpasswd.o -lresolv -lcrypt > > ckpasswd.o: In function `GetDBPass': > > /usr/src/inn-2.3.1/authprogs/ckpasswd.c:89: undefined reference to > > `dbm_open' > > /usr/src/inn-2.3.1/authprogs/ckpasswd.c:94: undefined reference to > > `dbm_fetch' > > /usr/src/inn-2.3.1/authprogs/ckpasswd.c:96: undefined reference to > > `dbm_close' > > /usr/src/inn-2.3.1/authprogs/ckpasswd.c:101: undefined reference to > > `dbm_close' > > It couldn't find gdbm or db (1.x) on your system. Try installing the -dev > package for either gdbm or db 1.x. (Need to fix ckpasswd so that it > doesn't even try if it can't find a library containing those functions.) > > -- > Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/> > > Please post questions rather than mailing me directly. > <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Strange inn compilation error
Author: Russ Allbery
Date: Wed, 07 Mar 2001 03:02
Date: Wed, 07 Mar 2001 03:02
17 lines
1664 bytes
1664 bytes
Gudlyf <gudlyf@usa.NOSPAM.net> writes:
> All of the db and gdbm packages are installed, along with the -dev
> packages. I installed them in their default areas, so I have no clue
> why they aren't getting seen. Any other ideas? There's nothing special
> about this linux system, so I'm surprised nobody else is reporting this
> problem.
What does config.log say about the results it got from trying to find
dbm_open?
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads