Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: AMD64

Apache Tools fails to compile

 

 

Gentoo amd64 RSS feed   Index | Next | Previous | View Threaded


carlos at carlosbenevides

Nov 10, 2009, 9:41 AM

Post #1 of 3 (1061 views)
Permalink
Apache Tools fails to compile

Hello,

I'm doing an emerge -auDv. One of the packages slated for an upgrade is
apache-tools, but I get the following error.

/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -ldb-4.6
collect2: ld returned 1 exit status
make[1]: *** [htpasswd] Error 1
make[1]: Leaving directory
`/u2/var/tmp/portage/app-admin/apache-tools-2.2.14/work/httpd-2.2.14/support'
make: *** [all-recursive] Error 1
*
* ERROR: app-admin/apache-tools-2.2.14 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2622: Called die
* The specific snippet of code:
* emake || die "emake support/ failed!"


It seems to be looking for berkdb 4.6. I only have the following installed.

[I] sys-libs/db
Available versions:
(1) 1.85-r3
(3) 3.2.9-r11 3.2.9_p2
(4.2) 4.2.52_p4-r2 ~4.2.52_p5 4.2.52_p5-r1
(4.3) 4.3.29-r2 ~4.3.29_p1 4.3.29_p1-r1
(4.4) ~4.4.20_p4 ~4.4.20_p4-r1
(4.5) 4.5.20_p2 4.5.20_p2-r1
(4.6) 4.6.21_p4
(4.7) ~4.7.25_p3 4.7.25_p4
(4.8) ~4.8.24
{doc elibc_FreeBSD java nocxx tcl test}
Installed versions: 4.2.52_p5-r1(4.2)(18:57:52 05/22/09)(-doc
-elibc_FreeBSD -java -nocxx -tcl -test)
4.5.20_p2-r1(4.5)(19:12:56 05/22/09)(-doc
-elibc_FreeBSD -java -nocxx -tcl -test)
4.7.25_p4(4.7)(11:31:23 10/17/09)(-doc
-elibc_FreeBSD -java -nocxx -tcl -test)
Homepage:
http://www.oracle.com/technology/software/products/berkeley-db/index.html
Description: Oracle Berkeley DB

Why does it need 4.6. If it needs it how I can install it
specifically. I can't seem to get emerge to install that specific version.


arttuv69 at gmail

Nov 10, 2009, 11:24 AM

Post #2 of 3 (1002 views)
Permalink
Re: Apache Tools fails to compile [In reply to]

On 11/10/09, Carlos Benevides <carlos [at] carlosbenevides> wrote:
> Hello,
>
> I'm doing an emerge -auDv. One of the packages slated for an upgrade is
> apache-tools, but I get the following error.
>
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld:
> cannot find -ldb-4.6
> collect2: ld returned 1 exit status
> make[1]: *** [htpasswd] Error 1
> make[1]: Leaving directory
> `/u2/var/tmp/portage/app-admin/apache-tools-2.2.14/work/httpd-2.2.14/support'
> make: *** [all-recursive] Error 1
> *
> * ERROR: app-admin/apache-tools-2.2.14 failed.
> * Call stack:
> * ebuild.sh, line 49: Called src_compile
> * environment, line 2622: Called die
> * The specific snippet of code:
> * emake || die "emake support/ failed!"
>
>
> It seems to be looking for berkdb 4.6. I only have the following installed.
>
> [I] sys-libs/db
> Available versions:
> (1) 1.85-r3
> (3) 3.2.9-r11 3.2.9_p2
> (4.2) 4.2.52_p4-r2 ~4.2.52_p5 4.2.52_p5-r1
> (4.3) 4.3.29-r2 ~4.3.29_p1 4.3.29_p1-r1
> (4.4) ~4.4.20_p4 ~4.4.20_p4-r1
> (4.5) 4.5.20_p2 4.5.20_p2-r1
> (4.6) 4.6.21_p4
> (4.7) ~4.7.25_p3 4.7.25_p4
> (4.8) ~4.8.24
> {doc elibc_FreeBSD java nocxx tcl test}
> Installed versions: 4.2.52_p5-r1(4.2)(18:57:52 05/22/09)(-doc
> -elibc_FreeBSD -java -nocxx -tcl -test)
> 4.5.20_p2-r1(4.5)(19:12:56 05/22/09)(-doc
> -elibc_FreeBSD -java -nocxx -tcl -test)
> 4.7.25_p4(4.7)(11:31:23 10/17/09)(-doc
> -elibc_FreeBSD -java -nocxx -tcl -test)
> Homepage:
> http://www.oracle.com/technology/software/products/berkeley-db/index.html
> Description: Oracle Berkeley DB
>
> Why does it need 4.6. If it needs it how I can install it
> specifically. I can't seem to get emerge to install that specific version.

Try re-merging apr-util, then go for the world (or whatever) again. Did it help?

--
Arttu V.


carlos at carlosbenevides

Nov 10, 2009, 11:29 AM

Post #3 of 3 (1001 views)
Permalink
Re: Apache Tools fails to compile [In reply to]

Yes! That did it. Thanks a bunch.

Arttu V. wrote:
> On 11/10/09, Carlos Benevides <carlos [at] carlosbenevides> wrote:
>
>> Hello,
>>
>> I'm doing an emerge -auDv. One of the packages slated for an upgrade is
>> apache-tools, but I get the following error.
>>
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld:
>> cannot find -ldb-4.6
>> collect2: ld returned 1 exit status
>> make[1]: *** [htpasswd] Error 1
>> make[1]: Leaving directory
>> `/u2/var/tmp/portage/app-admin/apache-tools-2.2.14/work/httpd-2.2.14/support'
>> make: *** [all-recursive] Error 1
>> *
>> * ERROR: app-admin/apache-tools-2.2.14 failed.
>> * Call stack:
>> * ebuild.sh, line 49: Called src_compile
>> * environment, line 2622: Called die
>> * The specific snippet of code:
>> * emake || die "emake support/ failed!"
>>
>>
>> It seems to be looking for berkdb 4.6. I only have the following installed.
>>
>> [I] sys-libs/db
>> Available versions:
>> (1) 1.85-r3
>> (3) 3.2.9-r11 3.2.9_p2
>> (4.2) 4.2.52_p4-r2 ~4.2.52_p5 4.2.52_p5-r1
>> (4.3) 4.3.29-r2 ~4.3.29_p1 4.3.29_p1-r1
>> (4.4) ~4.4.20_p4 ~4.4.20_p4-r1
>> (4.5) 4.5.20_p2 4.5.20_p2-r1
>> (4.6) 4.6.21_p4
>> (4.7) ~4.7.25_p3 4.7.25_p4
>> (4.8) ~4.8.24
>> {doc elibc_FreeBSD java nocxx tcl test}
>> Installed versions: 4.2.52_p5-r1(4.2)(18:57:52 05/22/09)(-doc
>> -elibc_FreeBSD -java -nocxx -tcl -test)
>> 4.5.20_p2-r1(4.5)(19:12:56 05/22/09)(-doc
>> -elibc_FreeBSD -java -nocxx -tcl -test)
>> 4.7.25_p4(4.7)(11:31:23 10/17/09)(-doc
>> -elibc_FreeBSD -java -nocxx -tcl -test)
>> Homepage:
>> http://www.oracle.com/technology/software/products/berkeley-db/index.html
>> Description: Oracle Berkeley DB
>>
>> Why does it need 4.6. If it needs it how I can install it
>> specifically. I can't seem to get emerge to install that specific version.
>>
>
> Try re-merging apr-util, then go for the world (or whatever) again. Did it help?
>
>

Gentoo amd64 RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.