tech-pkg archive

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

Re: Link errors for textproc/xmlrpc-c



On 05.11.12 16:14, Joerg Sonnenberger wrote:
On Mon, Nov 05, 2012 at 03:48:30PM +0100, Jens Rehsack wrote:
libtool --mode=link gcc -o xmlrpc -L/opt/pkg/lib -L/usr/lib xmlrpc.o
blddir/tools/lib/dumpvalue.o 
/tmp/pkgsrc/textproc/xmlrpc-c/work/xmlrpc-c-1.16.42/lib/util/casprintf.o 
/tmp/pkgsrc/textproc/xmlrpc-c/work/xmlrpc-c-1.16.42/lib/util/cmdline_parser.o 
/tmp/pkgsrc/textproc/xmlrpc-c/work/xmlrpc-c-1.16.42/lib/util/getoptx.o 
/tmp/pkgsrc/textproc/xmlrpc-c/work/xmlrpc-c-1.16.42/lib/util/stripcaseeq.o 
/tmp/pkgsrc/textproc/xmlrpc-c/work/xmlrpc-c-1.16.42/lib/util/string_parser.o
-Lblddir/src -Lblddir/lib/libutil -lxmlrpc_client -lxmlrpc

This should normally be .../wherever/libxmlrpc_client.la.

But it isn't - and it might be my fault.
I attach my mk.conf - it's grown over the years and maybe I should remove something from it.

--
Jens Rehsack
pkgsrc, Perl5
# Example /opt/pkg/etc/mk.conf file produced by bootstrap-pkgsrc
# Do  1 Nov 2012 21:04:24 CET

.ifdef BSD_PKG_MK       # begin pkgsrc settings


.endif                  # end pkgsrc settings
# Example /usr/pkg/etc/mk.conf file produced by bootstrap-pkgsrc
# Di 10. Mai 23:21:51 CEST 2011

.ifdef PKG_USEDEBUG
COPTFLAGS+=     -O -g3
.else
COPTFLAGS+=     -O2 -fno-strict-aliasing #-fPIC
.endif

NETBSD_LOGIN_NAME=      sno

.ifdef BSD_PKG_MK       # begin pkgsrc settings

ABI=                    64

PKG_DBDIR=              /opt/pkg/var/db/pkg
LOCALBASE=              /opt/pkg
VARBASE=                /opt/pkg/var
PKG_TOOLS_BIN=          /opt/pkg/sbin
PKGMANDIR=              man
WRKOBJDIR=              /tmp/pkgsrc
#WRKOBJDIR=             /var/tmp/pkgsrc
#PACKAGES?=             ${PKGSRCDIR}/packages

NOGCCERROR=             yes
MKPIC=                  yes
BUILDLINK_TRANSFORM+=   rm:-Wl,-R/usr/lib
#BUILDLINK_TRANSFORM+=  rm:-Wl,-R/usr/lib32
#BUILDLINK_TRANSFORM+=  rm:-Wl,-R/usr/lib64

SU_CMD= /usr/bin/sudo /bin/sh -c
TOOLS_PLATFORM.sh?=             /bin/bash
TOOLS_PLATFORM.sed=             /opt/pkg/bin/nbsed

PREFER_PKGSRC=          zlib
MYSQL_VERSION_DEFAULT=  55
PYTHON_VERSION_DEFAULT= 27
PGSQL_VERSION_DEFAULT=  92
ACCEPTABLE_LICENSES+=   vim-license intel-ipw-license idea-license 
openmotif-license
X11_TYPE=modular
.ifdef IN_PKG_ROLLING_REPLACE
ALLOW_VULNERABLE_PACKAGES=      yes
MAKE_JOBS?=     4
.endif
PKG_DEVELOPER=  yes
PKG_RCD_SCRIPTS=yes

PKG_DEFAULT_OPTIONS=    -cups -arts -evolution
PKG_OPTIONS.bugzilla=   pgsql bugzilla-notify bugzilla-graphicalreports \
                        bugzilla-inboundemail bugzilla-movebugs \
                        bugzilla-imagemagick bugzilla-patchviewer \
                        bugzilla-descriptions bugzilla-xmlrpc \
                        bugzilla-modperl ldap
PKG_OPTIONS.graphviz=   -x11 -pangocairo -gtk -gd -tcl perl
PKG_OPTIONS.p5-CPAN-Reporter=   proc-processtable
PKG_OPTIONS.ImageMagick=        -x11 jasper djvu ghostscript
PKG_OPTIONS.p5-Module-Build=    dist_authoring license_creation ppm_support 
bundling
PKG_OPTIONS.p5-Perl-Critic=     file-homedir file-which perl-tidy pod-spell 
readonly-xs regexp-parser
PKG_OPTIONS.apr-util=   db4 ldap pgsql
PKG_OPTIONS.subversion= apr1
PKG_OPTIONS.apache=     apache-shared-modules
PKG_OPTIONS.libslang2=  png oniguruma pcre
PKG_OPTIONS.mc=         slang -x11
PKG_OPTIONS.gnome=      -pulseaudio
PKG_OPTIONS.p5-Devel-NYTProf=   graphviz
PKG_OPTIONS.xskat=      altenburger_cards
PKG_OPTIONS.rt=         sqlite modperl2
#PKG_OPTIONS.xulrunner= 

.endif                  # end pkgsrc settings


Home | Main Index | Thread Index | Old Index