pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48576: Configure of devel/libmemcached fails on CentOS 6.5



>Number:         48576
>Category:       pkg
>Synopsis:       Configure of devel/libmemcached fails on CentOS 6.5
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 05 21:55:00 +0000 2014
>Originator:     diro%nixsyspaus.org@localhost
>Release:        Linux 2.6.32-431.3.1.el6.x86_64
>Organization:
>Environment:
System: Linux test1 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC
2014 x86_64 x86_64 x86_64 GNU/Linux
Architecture: x86_64
Machine: x86_64
>Description:
=> Adding run-time search paths to pkg-config files.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for x86_64-unknown-linux-gcc... gcc
checking whether the C compiler works... no
configure: error: in
`/usr/pkgsrc/devel/libmemcached/work/libmemcached-1.0.17':
configure: error: C compiler cannot create executables
See `config.log' for more details
*** Error code 77

Configure test for dladdr is what's failing. DL_LDFLAGS and DL_CFLAGS aren't
honoured by the script.
>How-To-Repeat:
        cd devel/libmemcached; bmake configure;
>Fix:
Add:

.if ${OPSYS} == "Linux"
LDFLAGS+=      -ldl
.endif

to Makefile after the options.mk line.



Home | Main Index | Thread Index | Old Index