LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-22-2009, 07:46 PM   #1
safeeq
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
HL-RDHM/BOOST installation error


Aloha All

I am trying to install a program called HL-RDHM and details of the program can be found at "http://140.90.90.253/~applications/LAD/generalappinfoout.php3?appnum=1686"

These are the requirements for the program:
A. SYSTEM REQUIREMENTS

1. Operating System
- Red Hat Enterprise Linux 4.0
2. Compiler
- GNU GCC/G++ 3.2.3 or later
- PGF90 4.1-2 or later
3. Library
- The C++ BOOST library 1.32 or later, www.boost.org
4. Others
- Autoconf 2.13,
- Automake 1.4-p5,
- GNU Make 3.79.1

B. INSTALLATION

1. Install the C++ Boost Library, see www.boost.org

2. Set the BOOSTINCLUDEDIR environmental variable to the boost library include
path, for example, in bash, use the following command
export BOOSTDIR=/YOUR/PATH/TO/BOOST/include/boost-1_32
"include/boost-1_32" is the subdirectory under the boost installation path
of boost version 1.32
3. Set the BOOSTDIR environmental variable to the boost library path, for
example, in bash, use the following command
export BOOSTDIR=/YOUR/PATH/TO/BOOST

4. Unpack the tar ball (rdhm.tar.gz) to your local machine
If it was checked out from CVS, cd to 'gorms'

5. cd to YOUR/PATH/TO/gorms

6. run "./bootstrap"

7. run "./configure --prefix=/where/to/install"

8. run "make"

9. run "make install"

10. the executables are rdhm, genpar, cellarea in /where/to/install/bin


I tried to install it but having following problems.
First of all i don't see any folder name include/boost-1_32 inside boost
and when i tried to installed Boost library i don't know where default installation is going.

Here is the log file that i got:

[safeeq@sher243-3 Desktop]$ export BOOSTDIR=/usr/include/boost/include/boost-1_39_0
[safeeq@sher243-3 Desktop]$ export BOOSTDIR=/usr/include/boost
[safeeq@sher243-3 Desktop]$ export GSLDIR=/usr/local/include/gsl
[safeeq@sher243-3 Desktop]$ cd HL-RDHM/gorms/
[safeeq@sher243-3 gorms]$ ./bootstrap
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.in: installing `config/install-sh'
configure.in: installing `config/missing'
AnnPeaks/Makefile.am: installing `config/depcomp'
autoreconf: Leaving directory `.'
[safeeq@sher243-3 gorms]$ make
make: *** No targets specified and no makefile found. Stop.
[safeeq@sher243-3 gorms]$ ./configure --prefix=/home/safeeq/Desktop/HL-RDHM
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 for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for pgf90... no
checking whether we are using the GNU Fortran compiler... no
checking whether accepts -g... no
checking how to get verbose linking output from ... configure: WARNING: compilation failed

checking for Fortran libraries of ...
checking for ranlib... ranlib
configure: creating ./config.status
config.status: creating Makefile
config.status: creating driver/Makefile
config.status: creating HydroDomain/Makefile
config.status: creating ModelBase/Makefile
config.status: creating Utilities/Makefile
config.status: creating Input/Makefile
config.status: creating Output/Makefile
config.status: creating hlrms/Makefile
config.status: creating calib/Makefile
config.status: creating sac/Makefile
config.status: creating calsac/Makefile
config.status: creating sls/Makefile
config.status: creating func_opt/Makefile
config.status: creating frz/Makefile
config.status: creating snow17/Makefile
config.status: creating snow17_mcp3/Makefile
config.status: creating calsnow17/Makefile
config.status: creating calsnow17_mcp3/Makefile
config.status: creating api/Makefile
config.status: creating rutpix/Makefile
config.status: creating calrutpix/Makefile
config.status: creating rutpixloc/Makefile
config.status: creating HindCast/Makefile
config.status: creating AnnPeaks/Makefile
config.status: creating FreqParams/Makefile
config.status: creating location_idx/Makefile
config.status: creating localFFG/Makefile
config.status: creating getMax/Makefile
config.status: creating monthlySum/Makefile
config.status: creating xmrgAdjust/Makefile
config.status: creating FirstExample/Makefile
config.status: creating thornthwaite/Makefile
config.status: creating sacped/Makefile
config.status: creating kwgenpar/Makefile
config.status: creating cellareas/Makefile
config.status: creating setCellValue/Makefile
config.status: creating driver/config.h
config.status: driver/config.h is unchanged
config.status: executing depfiles commands
[safeeq@sher243-3 gorms]$ make
Making all in Utilities
make[1]: Entering directory `/home/safeeq/Desktop/HL-RDHM/gorms/Utilities'
if g++ -DHAVE_CONFIG_H -I. -I. -I../driver -Wall -DLINX -I.. -I.. -I -I../loki -I. -O3 -MT HRAP.o -MD -MP -MF ".deps/HRAP.Tpo" -c -o HRAP.o HRAP.cpp; \
then mv -f ".deps/HRAP.Tpo" ".deps/HRAP.Po"; else rm -f ".deps/HRAP.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../driver -Wall -DLINX -I.. -I.. -I -I../loki -I. -O3 -MT XMRG.o -MD -MP -MF ".deps/XMRG.Tpo" -c -o XMRG.o XMRG.cpp; \
then mv -f ".deps/XMRG.Tpo" ".deps/XMRG.Po"; else rm -f ".deps/XMRG.Tpo"; exit 1; fi
XMRG.cpp: In member function ‘void XMRG::loadXMRG(const char*, const BOUNDARY&, bool, bool, bool)’:
XMRG.cpp:788: warning: ‘readAsParL’ is used uninitialized in this function
XMRG.cpp: In member function ‘void XMRG::loadXMRG(const char*, bool, bool, bool)’:
XMRG.cpp:343: warning: ‘readAsParL’ is used uninitialized in this function
linux.h: At global scope:
linux.h:14: warning: ‘data_id’ defined but not used
linux.h:24: warning: ‘data_unit’ defined but not used
linux.h:34: warning: ‘data_dim’ defined but not used
linux.h:44: warning: ‘grid_id’ defined but not used
c -o write_grid2.o write_grid2.f
make[1]: c: Command not found
make[1]: [write_grid2.o] Error 127 (ignored)
if gcc -DHAVE_CONFIG_H -I. -I. -I../driver -Wall -DLINX -O3 -MT fill_miss2d.o -MD -MP -MF ".deps/fill_miss2d.Tpo" -c -o fill_miss2d.o fill_miss2d.c; \
then mv -f ".deps/fill_miss2d.Tpo" ".deps/fill_miss2d.Po"; else rm -f ".deps/fill_miss2d.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../driver -Wall -DLINX -O3 -MT endian.o -MD -MP -MF ".deps/endian.Tpo" -c -o endian.o endian.c; \
then mv -f ".deps/endian.Tpo" ".deps/endian.Po"; else rm -f ".deps/endian.Tpo"; exit 1; fi
rm -f libutil.a
ar cru libutil.a HRAP.o XMRG.o write_grid2.o fill_miss2d.o endian.o
ar: write_grid2.o: No such file or directory
make[1]: *** [libutil.a] Error 1
make[1]: Leaving directory `/home/safeeq/Desktop/HL-RDHM/gorms/Utilities'
make: *** [all-recursive] Error 1
[safeeq@sher243-3 gorms]$ make install
Making install in Utilities
make[1]: Entering directory `/home/safeeq/Desktop/HL-RDHM/gorms/Utilities'
c -o write_grid2.o write_grid2.f
make[1]: c: Command not found
make[1]: [write_grid2.o] Error 127 (ignored)
rm -f libutil.a
ar cru libutil.a HRAP.o XMRG.o write_grid2.o fill_miss2d.o endian.o
ar: write_grid2.o: No such file or directory
make[1]: *** [libutil.a] Error 1
make[1]: Leaving directory `/home/safeeq/Desktop/HL-RDHM/gorms/Utilities'
make: *** [install-recursive] Error 1
[safeeq@sher243-3 gorms]$


I will appreciate if some one can help me out.
 
Old 07-23-2009, 05:37 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ

http://140.90.90.253/~applications/L...p3?appnum=1686
http://140.90.90.253/~applications/L...n-2_0_1.tar.gz
> rdhm_awips-local-application-2_0_1.tar.gz
> > awips-local-application-2_0-patches/

The autotools ( automake, autoconf .. ) in RH EL 4
are not working well with this application. So please
retry : 1) 'make clean'
2) delete 'config.status' and 'Makefile'.
3) run the command 'aclocal'.
And then ./bootstrap && ./configure ....

The good news is, things compile fine with boost-1.32 .
You may miss some headers, not taken care of by the
Makefile, etc.: They are in a "neighbour directory" , just
make a link to the proper location.
.....

Last edited by knudfl; 07-23-2009 at 05:47 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Link Error: Two versions of boost installed on system simulacrum111 Programming 1 07-19-2009 06:24 PM
configure: error: Could not find Boost headers version >= 1.33 ????? BULPulse Slackware 2 03-11-2008 04:35 PM
Installation of Binutils(configure:error:installation or configuration problem:C ...) h_r0019 Linux From Scratch 1 05-05-2007 07:40 AM
xen installation error: error 13: invalid or unsupported executable format Niceman2005 Linux - Software 0 01-05-2007 01:51 AM
Error on Fedora core 4 installation - Error informing the kernal about modifications monolegis Fedora 2 02-15-2006 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration