pkgsrc-Bugs archive

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

Re: pkg/45287: sysutils/cdrtools fails to detect correct compiler



  What does the following command output on your system?

     bmake show-vars VARNAMES=3D'CC CONFIGURE_ENV MAKE_FLAGS'

Is the "3D" a typo?

$ pwd
/pkgsrc/source/pkgsrc/sysutils/cdrtools
$ bmake show-vars VARNAMES='CC CONFIGURE_ENV MAKE_FLAGS'
gcc
INSTALL_INFO= MAKEINFO=/pkgsrc/source/pkgsrc/sysutils/cdrtools/work.pkgsrc-i86/.tools/bin/makeinfo PKG_CONFIG= PKG_CONFIG_LIBDIR=/pkgsrc/source/pkgsrc/sysutils/cdrtools/work.pkgsrc-i86/.buildlink/lib/pkgconfig:/pkgsrc/source/pkgsrc/sysutils/cdrtools/work.pkgsrc-i86/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/pkgsrc/source/pkgsrc/sysutils/cdrtools/work.pkgsrc-i86/.pkg-config.log PKG_CONFIG_PATH= MAKE=make PTHREAD_CFLAGS=\ -D_REENTRANT PTHREAD_LDFLAGS= PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr CC=gcc CFLAGS=-O CPPFLAGS= CXX=g++ CXXFLAGS=-O COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 FFLAGS=-O LANG=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/pkgsrc/gcc46-ld/gcc46/lib/gcc/i386-pc-solaris2.10/4.6.1\ -Wl,-R/pkgsrc/gcc46-ld/gcc46/lib/gcc/i386-pc-solaris2.10/4.6.1\ -L/pkgsrc/gcc46-ld/gcc46/lib\ -Wl,-R/pkgsrc/gcc46-ld/gcc46/lib LINKER_RPATH_FLAG=-R PATH=/pkgsrc/source/pkgsrc/sysutils/cdrtools/work.pkgsrc-i86/.wrapper/bin:/pkgsrc/source/pkgsrc/sysutils/cdrtools/work.pkgsrc-i86/.buildlink/bin:/pkgsrc/source/pkgsrc/sysutils/cdrtools/work.pkgsrc-i86/.gcc/bin:/pkgsrc/source/pkgsrc/sysutils/cdrtools/work.pkgsrc-i86/.tools/bin:/pkgsrc/gcc46-ld/bin:/pkgsrc/gcc46-ld/bin:/pkgsrc/gcc46-ld/sbin:/pkgsrc/gcc46-ld/gcc46/bin:/usr/bin:/usr/sbin:/usr/openwin/bin:/usr/dt/bin:/usr/ccs/bin:/pkgsrc/gcc46-ld/bin:/pkgsrc/gcc46-ld/bin PREFIX=/pkgsrc/gcc46-ld PKG_SYSCONFDIR=/pkgsrc/gcc46-ld/etc CXXCPP=cpp HOME=/pkgsrc/source/pkgsrc/sysutils/cdrtools/work.pkgsrc-i86/.home
GMAKE_NOWARN=true

  Also, please show your mk.conf

mk.conf:

.ifdef BSD_PKG_MK       # begin pkgsrc settings

UNPRIVILEGED=           yes
PKG_DBDIR=              /pkgsrc/gcc46-ld/var/db/pkg
LOCALBASE=              /pkgsrc/gcc46-ld
VARBASE=                /pkgsrc/gcc46-ld/var
PKG_TOOLS_BIN=          /pkgsrc/gcc46-ld/sbin
PKGMANDIR=              man

TOOLS_PLATFORM.install?=        /pkgsrc/gcc46-ld/bin/install-sh
TOOLS_PLATFORM.sh?=             /pkgsrc/gcc46-ld/bin/pdksh
TOOLS_PLATFORM.ksh?=            /pkgsrc/gcc46-ld/bin/pdksh
TOOLS_PLATFORM.awk?=            /pkgsrc/gcc46-ld/bin/nawk
TOOLS_PLATFORM.sed?=            /pkgsrc/gcc46-ld/bin/nbsed

.endif                  # end pkgsrc settings

TOOLS_PATH.diff=/pkgsrc/gcc46-ld/bin/gdiff
#TOOLS_PATH.find=/pkgsrc/gcc46-ld/bin/gfind
.include "/pkgsrc/gcc46-ld/etc/mk.conf.defaults"
.include "/pkgsrc/gcc46-ld/etc/mk.conf.options"
.include "/pkgsrc/gcc46-ld/etc/mk.conf.licenses"

mk.conf.defauts:

OBJHOSTNAME =                defined
PKGSRC_LOCKTYPE =            sleep
PKGSRC_SLEEPSECS =           8
DISTDIR =                    /pkgsrc/source/distfiles
PACKAGES = ${PKGSRCDIR}/packages/${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}
LOCALPATCHES =               /pkgsrc/source/patches

X11_TYPE =                   modular
MOTIF_TYPE =                 lesstif
PYTHON_VERSION_DEFAULT =     26
PKG_APACHE_DEFAULT =         apache2
KRB5_DEFAULT =               mit-krb5

PREFER_PKGSRC =              zlib expat
PREFER_NATIVE =              mit-krb5 openssl

FETCH_USING=fetch

mk.conf.options is irrelevant.

--
 Jörn Clausen                             
joern.clausen%uni-bielefeld.de@localhost
 Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
 Universität Bielefeld


Home | Main Index | Thread Index | Old Index