[csw-maintainers] how to avoid "Unknown option: --exec_prefix=/opt/csw"
rupert THURNER
rupert at opencsw.org
Thu May 3 01:07:10 CEST 2012
On Thu, May 3, 2012 at 12:18 AM, Ben Walton <bwalton at opencsw.org> wrote:
> Excerpts from rupert THURNER's message of Wed May 02 17:27:03 -0400 2012:
>
> Hi Rupert,
>
>> how can one avoid the error "Unknown option: --exec_prefix=/opt/csw"
>> with mgar? :
>
> You'll want to override the value of DIRPATHS with everything it
> includes except for the exec prefix option. Looking at the GAR code,
> you should be able to simply add the line:
>
> NODIRPATHS += --exec_prefix
>
> to your recipe to have it filtered out of DIRPATHS without having to
> redefine the whole value. Doing it this way should be more future
> proof for the recipe.
it then keeps asking about others ... and adding these as well:
NODIRPATHS += --exec_prefix
NODIRPATHS += --bindir
NODIRPATHS += --sbindir
NODIRPATHS += --libexecdir
ends finally in:
==> Running configure in work/solaris9-sparc/build-isa-sparcv8/cmake-2.8.8
cd work/solaris9-sparc/build-isa-sparcv8/cmake-2.8.8 && mkdir -p . &&
cd . && /usr/bin/env -i
PATH="/home/rupert/mgar-sav/pkg/.buildsys/v2/gar/bin/sos12-wrappers:/home/rupert/mgar-sav/pkg/cmake/trunk/work/solaris9-sparc/install-isa-sparcv8/opt/csw/bin:/home/rupert/mgar-sav/pkg/cmake/trunk/work/solaris9-sparc/install-isa-sparcv8/opt/csw/bin:/home/rupert/mgar-sav/pkg/cmake/trunk/work/solaris9-sparc/install-isa-sparcv8/opt/csw/sbin:/home/rupert/mgar-sav/pkg/cmake/trunk/work/solaris9-sparc/install-isa-sparcv8/opt/csw/sbin:/opt/csw/bin:/opt/csw/bin:/opt/csw/sbin:/opt/csw/sbin:/opt/SUNWspro/bin:/home/rupert/mgar-sav/pkg/.buildsys/v2/gar/bin:/usr/bin:/usr/sbin:/usr/java/bin:/usr/ccs/bin:/usr/openwin/bin"
prefix="/opt/csw" exec_prefix="/opt/csw" bindir="/opt/csw/bin"
sbindir="/opt/csw/sbin" libexecdir="/opt/csw/libexec"
datadir="/share/cmake-2.8.8" sysconfdir="/etc/opt/csw"
sharedstatedir="/share" localstatedir="/var/opt/csw"
libdir="/opt/csw/lib" infodir="/share/info"
lispdir="/share/emacs/site-lisp" includedir="/opt/csw/include"
mandir="/share/man" docdir="/share/doc/cmake-2.8.8"
sourcedir="/opt/csw/src" CPPFLAGS="-I/opt/csw/include" CFLAGS="-xO3
-m32 -xarch=v8 -xnorunpath" CXXFLAGS="-xO3 -m32 -xarch=v8 -norunpath"
LDFLAGS="-m32 -xarch=v8 -L/opt/csw/lib" FFLAGS="-xO3 -m32 -xarch=v8"
FCFLAGS="-xO3 -m32 -xarch=v8" ASFLAGS="" OPTFLAGS="-xO3 -m32
-xarch=v8" CC="/opt/SUNWspro/bin/cc" CXX="/opt/SUNWspro/bin/CC"
CC_HOME="/opt/SUNWspro" CC_VERSION="Sun C 5.9 SunOS_sparc Patch
124867-16 2010/08/11" CXX_VERSION="Sun C++ 5.9 SunOS_sparc Patch
124863-28 2011/12/14" GARCH="sparc" GAROSREL="5.9" GARPACKAGE="trunk"
LD_OPTIONS="-R/opt/csw/lib" PKG_CONFIG_PATH="/opt/csw/lib/pkgconfig"
DESTDIR="/home/rupert/mgar-sav/pkg/cmake/trunk/work/solaris9-sparc/install-isa-sparcv8"
/home/rupert/mgar-sav/pkg/cmake/trunk/work/solaris9-sparc/build-isa-sparcv8/cmake-2.8.8/configure
--prefix=/opt/csw --datadir=/share/cmake-2.8.8
--sysconfdir=/etc/opt/csw --sharedstatedir=/share
--localstatedir=/var/opt/csw --libdir=/opt/csw/lib
--infodir=/share/info --includedir=/opt/csw/include
--mandir=/share/man --docdir=/share/doc/cmake-2.8.8
/home/rupert/mgar-sav/pkg/cmake/trunk/work/solaris9-sparc/build-isa-sparcv8/cmake-2.8.8/bootstrap:
bad substitution
/home/rupert/mgar-sav/pkg/cmake/trunk/work/solaris9-sparc/build-isa-sparcv8/cmake-2.8.8/bootstrap:
bad substitution
gmake[2]: *** [configure-work/solaris9-sparc/build-isa-sparcv8/cmake-2.8.8/configure]
Error 1
gmake[2]: Leaving directory `/home/rupert/mgar-sav/pkg/cmake/trunk'
gmake[1]: *** [merge-isa-sparcv8] Error 2
gmake[1]: Leaving directory `/home/rupert/mgar-sav/pkg/cmake/trunk'
gmake: *** [platforms] Error 2
rupert
More information about the maintainers
mailing list