| Summary: | dev-libs/libol-0.3.16 and others do not build static libraries | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Mihai Limbasan <mihailim> |
| Component: | [OLD] Library | Assignee: | Mr. Bones. (RETIRED) <mr_bones_> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | 2005.1 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
config.log for dev-libs/libol-0.3.16
config.log for app-admin/syslog-ng-1.6.8 |
||
|
Description
Mihai Limbasan
2005-10-09 19:31:31 UTC
Attach the config.log from the build directory as text/plain please. Created attachment 70329 [details]
config.log for dev-libs/libol-0.3.16
Comment on attachment 70329 [details]
config.log for dev-libs/libol-0.3.16
You didn't specify whether you needed the config.log for syslog-ng or for
libol, so here go both.
Note that libol builds fine, it's just that the built package doesn't build the
static library.
Created attachment 70330 [details]
config.log for app-admin/syslog-ng-1.6.8
syslog-ng of course fails on linking:
i686-pc-linux-gnu-gcc -march=pentium4 -msse -msse2 -O2 -fomit-frame-pointer
-fno-ident -pipe -fstack-protector -Wall -I/usr/include/libol -D_GNU_SOURCE
-Wl,-O1 -o syslog-ng main.o sources.o center.o filters.o destinations.o log.o
cfgfile.o cfg-grammar.o cfg-lex.o affile.o afsocket.o afunix.o afinet.o
afinter.o afuser.o afstreams.o afprogram.o afremctrl.o nscache.o utils.o
syslog-names.o macros.o -lnsl -lresolv /usr/lib/libol.a -lnsl -Wl,-Bstatic
-lfl -lwrap -Wl,-Bdynamic
i686-pc-linux-gnu-gcc: /usr/lib/libol.a: No such file or directory
make[3]: *** [syslog-ng] Error 1
And libol-config output: router ~ # libol-config --libs -L/usr/lib -lol -lnsl router ~ # libol-config --static-libs /usr/lib/libol.a -lnsl router ~ # libol-config --cflags -I/usr/include/libol router ~ # libol-config --local-cflags -I/var/tmp/portage/libol-0.3.16/work/libol-0.3.16/src router ~ # libol-config --local-static-libs /var/tmp/portage/libol-0.3.16/work/libol-0.3.16/src/.libs/libol.a -lnsl Well, it doesn't build static libraries because you told it not to by passing --disable-static to configure. Ugh. EXTRA_ECONF. PEBKAC. I'll locate the nearest hole and crawl into it... I apologize for wasting your time and owe you a drink of your choice... No problem, glad it's working for you now. |