pkgsrc-Bugs archive

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

pkg/44949: examples in textproc/xmlrpc-c don't link on Solaris



>Number:         44949
>Category:       pkg
>Synopsis:       examples in textproc/xmlrpc-c don't link on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 10 12:00:00 +0000 2011
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Building textproc/xmlrpc-c fails on Solaris with

gcc -o auth_client auth_client.o  
/software/pkgsrc/source/pkgsrc/textproc/xmlrpc-c/work.spare4200/xmlrpc-c-1.16.34/src/libxmlrpc_client.a
[...]
/usr/ccs/bin/ld: illegal option -- rpath

>How-To-Repeat:

>Fix:
--- GNUmakefile.orig    2011-03-25 16:58:35.000000000 +0000
+++ GNUmakefile
@@ -39,7 +39,7 @@ OMIT_XMLRPC_C_CONFIG_TEST = Y
 include $(SRCDIR)/common.mk
 
 .PHONY: all
-all: xmlrpc-c-config xmlrpc-c-config.test $(SUBDIRS:%=%/all)
+all: xmlrpc-c-config xmlrpc-c-config.test $(DEFAULT_SUBDIRS:%=%/all)
 
 # The examples subdirectory is special, because even the make file in there
 # is designed to be an example.  So it has to be simple and as close as



The error happens in the example subdirectory, which, according to several 
comments in the makefiles, is not supposed to be built by default anyway.



Home | Main Index | Thread Index | Old Index