LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-13-2007, 01:58 PM   #1
cezar_sl
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Rep: Reputation: 0
Instal MPB (software from MIT) (home page recomends debian), suplied as tar.gz


the archive is here MPB
it has an instal.sh file that does nothing from what i can see, even if i run it in terminal

i need it for a school project and i wouldn't like to intall Debian just for that

EDIT

i found some intructions and tried :
./configure (it worked)
make (didn't work)

[root@localhost Downloads]# tar -zxvf mpb-1.4.2.tar.gz
mpb-1.4.2/
mpb-1.4.2/doc/
mpb-1.4.2/doc/acknowledgments.html
mpb-1.4.2/doc/analysis-tutorial.html
mpb-1.4.2/doc/developer.html
mpb-1.4.2/doc/diamond-b1-eps.gif
mpb-1.4.2/doc/diamond-b1.gif
mpb-1.4.2/doc/diamond-b3-eps.gif
mpb-1.4.2/doc/diamond-b3.gif
mpb-1.4.2/doc/diamond-bands.gif
mpb-1.4.2/doc/diamond-eps.gif
mpb-1.4.2/doc/index.html
mpb-1.4.2/doc/installation.html
mpb-1.4.2/doc/introduction.html
mpb-1.4.2/doc/license.html
mpb-1.4.2/doc/tri-rods-bands.gif
mpb-1.4.2/doc/tri-rods-eps-1.gif
mpb-1.4.2/doc/tri-rods-eps-2.gif
mpb-1.4.2/doc/tri-rods-ez1.gif
mpb-1.4.2/doc/tri-rods-ez2.gif
mpb-1.4.2/doc/tri-rods-ez3.gif
mpb-1.4.2/doc/tri-rods-ez4.gif
mpb-1.4.2/doc/tri-rods-ez5.gif
mpb-1.4.2/doc/tri-rods-ez6.gif
mpb-1.4.2/doc/tri-rods-ez7.gif
mpb-1.4.2/doc/tri-rods-ez8.gif
mpb-1.4.2/doc/user-ref.html
mpb-1.4.2/doc/user-tutorial.html
mpb-1.4.2/AUTHORS
mpb-1.4.2/COPYING
mpb-1.4.2/COPYRIGHT
mpb-1.4.2/ChangeLog
mpb-1.4.2/Makefile.in
mpb-1.4.2/NEWS
mpb-1.4.2/README
mpb-1.4.2/TODO
mpb-1.4.2/acx_blas.m4
mpb-1.4.2/acx_lapack.m4
mpb-1.4.2/acx_mpi.m4
mpb-1.4.2/configure.ac
mpb-1.4.2/mpb-ctl/
mpb-1.4.2/mpb-ctl/Makefile.in
mpb-1.4.2/mpb-ctl/epsilon.c
mpb-1.4.2/mpb-ctl/epsilon_file.c
mpb-1.4.2/mpb-ctl/field-smob.c
mpb-1.4.2/mpb-ctl/field-smob.h
mpb-1.4.2/mpb-ctl/fields.c
mpb-1.4.2/mpb-ctl/matrix-smob.c
mpb-1.4.2/mpb-ctl/matrix-smob.h
mpb-1.4.2/mpb-ctl/mpb-split.1
mpb-1.4.2/mpb-ctl/mpb-split.in
mpb-1.4.2/mpb-ctl/mpb.1
mpb-1.4.2/mpb-ctl/mpb.c
mpb-1.4.2/mpb-ctl/mpb.h
mpb-1.4.2/mpb-ctl/mpb.scm.in
mpb-1.4.2/mpb-ctl/my-smob.h
mpb-1.4.2/mpb-ctl/examples/
mpb-1.4.2/mpb-ctl/examples/bragg-sine.ctl
mpb-1.4.2/mpb-ctl/examples/bragg.ctl
mpb-1.4.2/mpb-ctl/examples/check.ctl
mpb-1.4.2/mpb-ctl/examples/diamond.ctl
mpb-1.4.2/mpb-ctl/examples/dos.scm
mpb-1.4.2/mpb-ctl/examples/hole-slab.ctl
mpb-1.4.2/mpb-ctl/examples/honey-rods.ctl
mpb-1.4.2/mpb-ctl/examples/line-defect.ctl
mpb-1.4.2/mpb-ctl/examples/sq-rods.ctl
mpb-1.4.2/mpb-ctl/examples/tri-holes.ctl
mpb-1.4.2/mpb-ctl/examples/tri-rods.ctl
mpb-1.4.2/mpb-ctl/examples/tutorial.ctl
mpb-1.4.2/src/
mpb-1.4.2/src/matrices/
mpb-1.4.2/src/matrices/Makefile.in
mpb-1.4.2/src/matrices/README
mpb-1.4.2/src/matrices/blasglue.c
mpb-1.4.2/src/matrices/blasglue.h
mpb-1.4.2/src/matrices/eigensolver.c
mpb-1.4.2/src/matrices/eigensolver.h
mpb-1.4.2/src/matrices/eigensolver_davidson.c
mpb-1.4.2/src/matrices/eigensolver_utils.c
mpb-1.4.2/src/matrices/evectmatrix.c
mpb-1.4.2/src/matrices/linmin.c
mpb-1.4.2/src/matrices/linmin.h
mpb-1.4.2/src/matrices/matrices.c
mpb-1.4.2/src/matrices/matrices.h
mpb-1.4.2/src/matrices/minpack2-linmin.c
mpb-1.4.2/src/matrices/scalar.h
mpb-1.4.2/src/matrices/sqmatrix.c
mpb-1.4.2/src/matrixio/
mpb-1.4.2/src/matrixio/Makefile.in
mpb-1.4.2/src/matrixio/evectmatrixio.c
mpb-1.4.2/src/matrixio/fieldio.c
mpb-1.4.2/src/matrixio/matrixio.c
mpb-1.4.2/src/matrixio/matrixio.h
mpb-1.4.2/src/maxwell/
mpb-1.4.2/src/maxwell/Makefile.in
mpb-1.4.2/src/maxwell/README
mpb-1.4.2/src/maxwell/maxwell.c
mpb-1.4.2/src/maxwell/maxwell.h
mpb-1.4.2/src/maxwell/maxwell_constraints.c
mpb-1.4.2/src/maxwell/maxwell_eps.c
mpb-1.4.2/src/maxwell/maxwell_op.c
mpb-1.4.2/src/maxwell/maxwell_pre.c
mpb-1.4.2/src/util/
mpb-1.4.2/src/util/Makefile.in
mpb-1.4.2/src/util/check.h
mpb-1.4.2/src/util/debug_malloc.c
mpb-1.4.2/src/util/mpi_utils.c
mpb-1.4.2/src/util/mpi_utils.h
mpb-1.4.2/src/util/mpiglue.h
mpb-1.4.2/src/config.h.in
mpb-1.4.2/tests/
mpb-1.4.2/tests/Makefile.in
mpb-1.4.2/tests/blastest.c
mpb-1.4.2/tests/blastest.complex.out
mpb-1.4.2/tests/blastest.real.out
mpb-1.4.2/tests/eigs_test.c
mpb-1.4.2/tests/malloctest.c
mpb-1.4.2/tests/maxwell_test.c
mpb-1.4.2/tests/normal_vectors.c
mpb-1.4.2/utils/
mpb-1.4.2/utils/Makefile.in
mpb-1.4.2/utils/mpb-data.1
mpb-1.4.2/utils/mpb-data.c
mpb-1.4.2/config.guess
mpb-1.4.2/config.sub
mpb-1.4.2/install-sh
mpb-1.4.2/autom4te.cache/
mpb-1.4.2/autom4te.cache/requests
mpb-1.4.2/autom4te.cache/output.0
mpb-1.4.2/autom4te.cache/traces.0
mpb-1.4.2/configure
[root@localhost Downloads]# cd mpb-1.4.2
[root@localhost mpb-1.4.2]# ./configure

checking for vendor f77 to be used instead of g77...
checking for f77... no
checking for xlf77... no
checking for cf77... no
checking for fort77... no
checking for f90... no
checking for xlf90... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fl32... no
checking for af77... no
checking for fort77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... f95
checking for Fortran 77 compiler default output... a.out
checking whether the Fortran 77 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 Fortran 77 compiler... yes
checking whether f95 accepts -g... yes
checking for vendor cc to be used instead of gcc...
checking for cc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for sqrt in -lm... yes
checking how to get verbose linking output from f95... -v
checking for Fortran 77 libraries... -L/usr/lib/gcc/i386-redhat-linux/4.1.1 -L/usr/lib/gcc/i386-redhat-linux/4.1.1/../../.. -lgfortranbegin -lgfortran -lm -lgcc_s
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore, no extra underscore
checking for fftw in -ldfftw... no
checking for fftw in -lfftw... no
configure: error: The FFTW libraries could not be found. Make sure FFTW is installed, and that LDFLAGS and CPPFLAGS are set appropriately if necessary.
[root@localhost mpb-1.4.2]# make
make: *** No targets specified and no makefile found. Stop.

Last edited by cezar_sl; 03-14-2007 at 09:55 AM.
 
Old 03-16-2007, 11:14 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Just a guess here, but as the configure process did not finish, there is not yet a makefile to run.
I would investigate what are the 'FFTW libraries' perhaps using Google, and if it is some library you need to install, do so.
Then run ./configure again. If configure runs successfully, then there will be a makefile for you to use.
 
Old 03-16-2007, 11:30 AM   #3
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
fftw is a C library for fast Fourier (FFT) and discrete Fourier (DFT) transforms.

HTTP: http://www.fftw.org/fftw-3.1.2.tar.gz
FTP: ftp://ftp.fftw.org/pub/fftw/fftw-3.1.2.tar.gz
MD5SUM: http://www.fftw.org/fftw-3.1.2.md5sum

 
Old 03-18-2007, 11:58 AM   #4
cezar_sl
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
thank you both
i actually figured that out by myself after reading the error

i installed fftw but the default install didn't include 2 libraries that i needed
ho do install things that don't install by default ?

i mean the two specified in the error "configure: error: The FFTW libraries could not be found. Make sure FFTW is installed, and that LDFLAGS and CPPFLAGS are set appropriately if necessary."

Last edited by cezar_sl; 03-18-2007 at 12:00 PM.
 
Old 03-18-2007, 01:48 PM   #5
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
LDFLAGS and CPPFLAGS are enviornment (shell) variables. To reference them, type - in a shell/terminal:
Code:
$ echo $LDFLAGS
$ echo $CPPFLAGS
And see what the result is. I have no idea what those particular variables hold, but from best guess, CPPFLAGS more than likely has something to do with the C pre-processor, and LDFLAGS with the C "linker".

Almost guaranteed that that is what those variables are for.

To append to the variables, the syntax is the following:
Code:
$ export LDFLAGS=$LDFLAGS:/path/to/libs
$ export CPPFLAGS=$CPPFLAGS:/path/to/libs
More than likely, you'll have to scour through /usr/lib, find any directories that relate to FFTW and append those paths to LDFLAGS and CPPFLAGS.
 
  


Reply



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
LXer: AP to forge ties with MIT for open source software LXer Syndicated Linux News 0 01-07-2007 12:21 AM
SSH to debian box doesn't transmit ins, home, page up etc... deej_1977 Debian 6 09-20-2006 04:55 AM
lost start page (home page?) multiplaone Linux - Newbie 1 05-29-2005 06:10 PM
i need to know how to instal from .tar asi0917 Linux - Newbie 6 08-27-2004 09:14 AM
tar instal of gnu parted suselinux Linux - Newbie 9 09-05-2001 11:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:33 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