CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

gcc installation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2012, 19:41
Default gcc configure: error: cannot find neither zip nor jar, cannot continue
  #1
Member
 
Join Date: Jan 2010
Posts: 44
Rep Power: 16
Argen is on a distinguished road
When I installed gcc-4.3.4, some errors happened as shown in the bottom. It seems that unzip couldn't be found. Once zip30 is installed, how to set the directory of zip30 before making gcc?

checking for x86_64-unknown-linux-gnu-ar... ar
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking for gawk... (cached) gawk
checking for jar... no
checking for fastjar... no
checking for gjar... no
checking for zip... no
checking for unzip... /usr/bin/unzip
configure: error: cannot find neither zip nor jar, cannot continue
make[1]: *** [configure-target-libjava] Error 1
make[1]: Leaving directory `~/gcc-4.3.4'
make: *** [all] Error 2

Last edited by Argen; July 23, 2012 at 20:22.
Argen is offline   Reply With Quote

Old   July 24, 2012, 17:20
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by Argen View Post
When I installed gcc-4.3.4, some errors happened as shown in the bottom. It seems that unzip couldn't be found. Once zip30 is installed, how to set the directory of zip30 before making gcc?
Assuming you made a manual installation:
Code:
export PATH=$PATH:$HOME/zip30/bin
__________________
wyldckat is offline   Reply With Quote

Old   July 25, 2012, 02:20
Default
  #3
Member
 
Join Date: Jan 2010
Posts: 44
Rep Power: 16
Argen is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Assuming you made a manual installation:
Code:
export PATH=$PATH:$HOME/zip30/bin
It works. No errors reported after "make" and "make install". But, when "make check" is executed, errors occur as follows. How to sort it out?

make[1]: Entering directory `/nfs/rachel03/home01/mmy/software/gcc-4.3.4'
make[2]: Entering directory `/nfs/rachel03/home01/mmy/software/gcc-4.3.4/host-x86_64-unknown-linux-gnu/fixincludes'
autogen -T ../.././fixincludes/check.tpl ../.././fixincludes/inclhack.def
/bin/bash: autogen: command not found
make[2]: *** [check] Error 127
make[2]: Leaving directory `/nfs/rachel03/home01/mmy/software/gcc-4.3.4/host-x86_64-unknown-linux-gnu/fixincludes'
make[1]: *** [check-fixincludes] Error 2
make[1]: Leaving directory `/nfs/rachel03/home01/mmy/software/gcc-4.3.4'
make: *** [do-check] Error 2
Argen is offline   Reply With Quote

Old   July 25, 2012, 14:40
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Argen,

I never bother with "make check"
Either way, looks like you're missing the application "autogen"... probably installing the package on the system with the same name would work. Example, as root:
Code:
yum install autogen
edit: based on your your other answer on another thread, use this instead:
Code:
sudo apt-get install autogen
Best regards,
Bruno
__________________

Last edited by wyldckat; July 25, 2012 at 14:55. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM-1.6-ext Installation gcc abminternet OpenFOAM Installation 8 February 11, 2011 16:49
OF Installation Problem - Gcc Error Daniel Pilatti OpenFOAM Installation 11 April 19, 2009 23:07
Critical errors gcc and icoFoam during installation of 15 quartzian OpenFOAM Installation 3 December 12, 2008 13:42
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
FOAM installation error gcc amp g hanks OpenFOAM Installation 9 January 26, 2006 15:14


All times are GMT -4. The time now is 11:35.