View Issue Details

IDProjectCategoryView StatusLast Update
0002060GNUnetbuild processpublic2012-02-28 11:05
Reporteramatus Assigned ToChristian Grothoff  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionno change required 
Platformamd64OSFreeBSDOS Version8.2
Product Version0.9.2 
Target Version0.9.2Fixed in Version0.9.2 
Summary0002060: ./configure does not find libunistring in /usr/local when --with-libunistring-prefix=/usr/local is used
DescriptionMy command line: ./configure --prefix=/home/gnunet --with-extractor=/home/gnunet --with-libmicrohttpd=/home/gnunet --with-libunistring-prefix=/usr/local
The error in config.log:
configure:22576: checking for libunistring
configure:22595: gcc -o conftest -fno-strict-aliasing -Wall -g -O2 -I/home/gnunet/include -L/home/gnunet/lib conftest.c -lm -ldl -lunistring >&5
conftest.c:83:21: error: uniconv.h: No such file or directory
conftest.c: In function 'main':
conftest.c:87: warning: implicit declaration of function 'u8_strconv_from_locale'
configure:22595: $? = 1

As you can see there is no -I/usr/local/include -L/usr/local/lib like you would expect.
TagsNo tags attached.

Activities

Christian Grothoff

2012-01-06 20:41

manager   ~0005248

Reported to bug-gnulib for now.

Christian Grothoff

2012-01-07 02:47

manager   ~0005251

Response from Bruno:

Can you please ask the original reporter ('amatus') to send
  1) The complete config.log (there ought to be more references to
     libunistring in there),
  2) The configure file,
  3) The output of
       ls -l /usr/locale/include/uniconv.h /usr/local/lib*/libunistring*

Also, the platform is a FreeBSD/x86_64 system. Is it a bi-arch system
(both x86 and x86_64 libraries installed)? If so, what's the convention
for separating x86 and x86_64 libraries on this platform? So far, the
macros support bi-arch only for glibc and Solaris platforms.

In any case, the user can work around the problem by specifying
the -I option in the CPPFLAGS variable and the -L option in the LDFLAGS
variable while configuring. The --with-...-prefix option is a handy
shortcut.

amatus

2012-01-08 19:03

developer   ~0005253

Nevermind. I got confused.

Issue History

Date Modified Username Field Change
2012-01-06 04:40 amatus New Issue
2012-01-06 20:41 Christian Grothoff Note Added: 0005248
2012-01-06 20:41 Christian Grothoff Assigned To => Christian Grothoff
2012-01-06 20:41 Christian Grothoff Status new => acknowledged
2012-01-07 02:47 Christian Grothoff Note Added: 0005251
2012-01-08 19:03 amatus Note Added: 0005253
2012-01-08 19:03 amatus Status acknowledged => resolved
2012-01-08 19:03 amatus Resolution open => no change required
2012-01-15 21:46 Christian Grothoff Fixed in Version => Git master
2012-01-15 21:46 Christian Grothoff Target Version => Git master
2012-01-15 21:47 Christian Grothoff Product Version Git master => 0.9.2
2012-01-15 21:47 Christian Grothoff Fixed in Version Git master => 0.9.2
2012-01-15 21:47 Christian Grothoff Target Version Git master => 0.9.2
2012-02-28 11:05 Christian Grothoff Status resolved => closed