Issue 91117 - PATH contains "ccache /usr/bin" (was: HEAD/redland: configure fails)
Summary: PATH contains "ccache /usr/bin" (was: HEAD/redland: configure fails)
Alias: None
Product: Build Tools
Classification: Code
Component: external prerequisites (show other issues)
Version: 4.0.0-dev
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2008-06-27 04:24 UTC by pavel
Modified: 2017-05-20 11:29 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2008-06-27 04:24:45 UTC

configuring redland fails:

cd ../ && ./configure PATH=../../../bin:$PATH --disable-
static --disable-gtk-doc --with-threads --with-openssl-digests --with-xml-parser=libxml --
without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore       --
with-regex-library=posix --with-decimal=none --with-www=xml && touch so_configured_so_rasqal
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /usr/bin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... Invalid configuration `/usr/bin': machine `/usr/bin' not recognized
configure: error: /bin/sh ./config.sub /usr/bin failed
dmake:  Error code 1, while making '../'

This is because of:

oo@octopus:~/BuildDir/ooo_DEV300_m22_src/redland> echo $PATH
mes:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:ccache /usr/bin
oo@octopus:~/BuildDir/ooo_DEV300_m22_src/redland> echo $COMPATH
ccache /usr/bin

ie. PATH is wrong in the global env. file.
Comment 1 2008-06-27 10:32:39 UTC
sorry, i forgot to quote the argument to configure. have committed a fix for that.
i hope redland builds for you now, please try again...

(no idea about that ccache thing though.)
Comment 2 rene 2008-06-27 10:50:39 UTC
pjanik: why is this assigned to me? and why is this in tools after all?
Comment 3 rene 2008-06-27 10:51:02 UTC
reassign to mst
Comment 4 pavel 2008-06-27 11:03:34 UTC
rene: calm down, read again, fix COMPATH and thus PATH.

Comment 5 2008-06-27 11:10:10 UTC
hey, i have already fixed my part of the issue :)
and i have no clue how this ccache thing ended up in PATH in the first place, so
i guess i just reassign it back to rene (as suggested by pjanik)
Comment 6 Marcus 2017-05-20 11:29:24 UTC
Reset assigne to the default "".