WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: problem with ./configure  (Read 11073 times)

Offline jjreina

  • Jr. Member
  • **
  • Posts: 66
problem with ./configure
« on: October 28, 2011, 03:02:16 AM »
Hi all, i´m trying to install classpath 0.98 on TC 4.0.2 but when I typing ./configure show:

checking build system type... Invalid configuration `i586-pc-linux-': machine `i586-pc-linux' not recognized
configure: error: /bin/sh ./config.sub i586-pc-linux- failed

I've also tested > ./configure CC="gcc -arch i586" and same error.

Any suggestions?

Thanks

Offline jjreina

  • Jr. Member
  • **
  • Posts: 66
Re: problem with ./configure
« Reply #1 on: October 28, 2011, 03:25:57 AM »
i tried
./configure --host=i586-pc-linux-gnu --build=i586-pc-linux-gnu --target=i586-pc-linux-gnu

ans show

checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking how to create a ustar tar archive... plaintar
checking for style of include used by make... none
checking for i586-pc-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/mnt/sda1/tce/optional/classPath/classpath-0.98':
configure: error: C compiler cannot create executables
See `config.log' for more details.

Thanks

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: problem with ./configure
« Reply #2 on: October 28, 2011, 03:41:51 AM »
Is there a particular reason for wanting to use "i586-pc-linux-gnu"?

Otherwise, if you leave this blank, things should work

Edit: and do you have compiletc loaded?

Offline jjreina

  • Jr. Member
  • **
  • Posts: 66
Re: problem with ./configure
« Reply #3 on: October 28, 2011, 03:51:05 AM »
If I leave this blank, only ./configure  show:

checking build system type... Invalid configuration `i586-pc-linux-': machine `i586-pc-linux' not recognized
configure: error: /bin/sh ./config.sub i586-pc-linux- failed

Thx

Offline jjreina

  • Jr. Member
  • **
  • Posts: 66
Re: problem with ./configure
« Reply #4 on: October 28, 2011, 04:11:12 AM »
I have intalled make and gawt extension and naw show:

checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes

checking how to create a ustar tar archive... plaintar
checking for style of include used by make... GNU
checking for i586-pc-linux-gnu-gcc... no                     
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/mnt/sda1/tce/optional/classPath/classpath-0.98':
configure: error: C compiler cannot create executables
See `config.log' for more details.

Thx

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: problem with ./configure
« Reply #5 on: October 28, 2011, 04:37:31 AM »
If you had to install make and gawk separately, this means you didn't load compiletc - try loading compiletc

Offline jjreina

  • Jr. Member
  • **
  • Posts: 66
Re: problem with ./configure
« Reply #6 on: October 28, 2011, 05:27:06 AM »
Thx Juanito, copiletc not install correct, now work fine only ./configure

Offline jjreina

  • Jr. Member
  • **
  • Posts: 66
Re: problem with ./configure
« Reply #7 on: October 28, 2011, 07:51:12 AM »
Sorry, one more question
Now i get this error
    configure: error: GTK+ peers requested but no X library available

How can i fix it?

Thanks

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: problem with ./configure
« Reply #8 on: October 28, 2011, 07:59:10 AM »
load gtk2-dev and/or Xorg-7.6-dev

Offline jjreina

  • Jr. Member
  • **
  • Posts: 66
Re: problem with ./configure
« Reply #9 on: October 28, 2011, 10:01:35 AM »
Thanks, i only had intalled gtk1.tcz.

Thx.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: problem with ./configure
« Reply #10 on: October 28, 2011, 10:56:42 AM »
If you want to compile against gtk1, then you need gtk1-dev..

Offline jjreina

  • Jr. Member
  • **
  • Posts: 66
Re: problem with ./configure
« Reply #11 on: October 31, 2011, 03:55:23 AM »
Hi all, How can i fix?

 Library requirements (gconf-2.0 >= 2.6.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable i              f your libraries are in a nonstandard prefix so pkg-config can find them

Thanks you very much

Offline jjreina

  • Jr. Member
  • **
  • Posts: 66
Re: problem with ./configure
« Reply #12 on: October 31, 2011, 04:15:06 AM »
Solved, i have installed GConf-dev

Thx

But naw error is

checking for mozilla-plugin... checking for firefox-plugin firefox-xpcom... checking for xulrunner-plugin xulrunner-xpcom... checking for mozilla-firefox-plugin mozilla-firefox-xpcom... checking for seamonkey-plugin seamonkey-xpcom... checking for iceape-plugin iceape-xpcom... configure:    error: Couldn't find plugin support headers and libraries, try --disable-plugin

what realicion between classpath and firefox?

Thx Solved with

./configure --disable-plugin

thx

Thx
« Last Edit: October 31, 2011, 04:44:11 AM by jjreina »