pkgsrc-Bugs archive

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

pkg/48406: textproc/libcroco does not compile on Mac OS X

>Number:         48406
>Category:       pkg
>Synopsis:       textproc/libcroco does not compile on Mac OS X
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 25 20:05:00 +0000 2013
>Originator:     Joern Clausen
>Release:        current pkgsrc
Mac OS X 10.9, Xcode 5.0.2
Compiling textproc/libcroco fails on Mac OS X with

ld: library not found for -lnbcompat

nbcompat seems to be included via the dependency on libxml2, this is found in 

dependency_libs='-L/Users/joern/pkgsrc/textproc/libxml2/work/libnbcompat  -lz 
-llzma -lpthread -liconv -lm -lnbcompat'

i.e. the build directory of libxml2 is referenced.

xml2-config seems to generate reasonable flags, though:

$ xml2-config --cflags
-I/Users/joern/pkg/include/libxml2 -I/Users/joern/pkg/include

$ xml2-config --libs  
-L/Users/joern/pkg/lib -lxml2 -lz -lpthread -L/Users/joern/pkg/lib -liconv -lm 



Home | Main Index | Thread Index | Old Index