Closed Bug 669141 Opened 14 years ago Closed 14 years ago

can't configure js185 due to it wrongly detecting Python

Categories

(Firefox Build System :: General, defect)

1.8 Branch
All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mozilla-bugs, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.6.17-1.fc14 Firefox/3.6.17 Build ID: 20110428110700 Steps to reproduce: I tried to build js185 but it failed. Actual results: [jhbuild] muelli@bigbox ~/svn/gnome2/js185-1.0.0/js/src $ ./configure loading cache ./config.cache checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking build system type... x86_64-unknown-linux-gnu checking for mawk... (cached) gawk checking for perl5... (cached) /usr/bin/perl checking for gcc... (cached) gcc checking whether the C compiler (gcc -L/opt/gnome2/lib64 -Wl,-O0 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed) works... yes checking whether the C compiler (gcc -L/opt/gnome2/lib64 -Wl,-O0 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for c++... (cached) c++ checking whether the C++ compiler (c++ -g3 -pipe -O2 -L/opt/gnome2/lib64 -Wl,-O0 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed) works... yes checking whether the C++ compiler (c++ -g3 -pipe -O2 -L/opt/gnome2/lib64 -Wl,-O0 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking for ranlib... (cached) ranlib checking for as... (cached) /usr/bin/as checking for ar... (cached) ar checking for ld... (cached) ld checking for strip... (cached) strip checking for windres... no checking whether gcc and cc understand -c and -o together... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking how to run the C++ preprocessor... (cached) c++ -E checking for sb-conf... no checking for ve... no checking for a BSD compatible install... /home/muelli/bin/install-check checking whether ln -s works... (cached) yes checking for minimum required perl version >= 5.006... 5.012003 checking for full perl installation... yes checking for python2.7... (cached) /opt/gnome2/bin/python checking for doxygen... (cached) /usr/bin/doxygen checking for autoconf... (cached) /opt/gnome2/bin/autoconf checking for unzip... (cached) /usr/bin/unzip checking for zip... (cached) /usr/bin/zip checking for makedepend... (cached) /usr/bin/makedepend checking for xargs... (cached) /usr/bin/xargs checking for gmake... (cached) /usr/bin/gmake checking for X... (cached) libraries /usr/lib64, headers checking for dnet_ntoa in -ldnet... (cached) no checking for dnet_ntoa in -ldnet_stub... (cached) no checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking whether the compiler supports -Wno-invalid-offsetof... yes checking whether the compiler supports -Wno-variadic-macros... yes checking whether the compiler supports -Werror=return-type... yes checking whether ld has archive extraction flags... (cached) yes checking that static assertion macros used in autoconf tests work... (cached) yes checking for 64-bit OS... yes checking for Python version >= 2.5 but not 3.x... ./configure: line 6394: /opt/gnome2/bin/python: No such file or directory configure: error: Python 2.5 or higher (but not Python 3.x) is required. [jhbuild] muelli@bigbox ~/svn/gnome2/js185-1.0.0/js/src $ type -a python python is /usr/bin/python [jhbuild] muelli@bigbox ~/svn/gnome2/js185-1.0.0/js/src $ echo $PATH /opt/gnome2/bin:/home/muelli/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin [jhbuild] muelli@bigbox ~/svn/gnome2/js185-1.0.0/js/src $ python --version Python 2.7 [jhbuild] muelli@bigbox ~/svn/gnome2/js185-1.0.0/js/src $ Expected results: I would have expected it to configure and build just fine
Assignee: general → nobody
Component: JavaScript Engine → Build Config
QA Contact: general → build-config
checking for python2.7... (cached) /opt/gnome2/bin/python You'll need to delete config.cache and try again.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.