Find the answer to your Linux question:
Results 1 to 2 of 2
Hello everyone. I want to say I'm a totally new to Linux and in fact I only decided to try out Linux as I'm in biochemistry and a program I ...
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    1

    Compiling and Installation Help (Total Newb)

    Hello everyone.

    I want to say I'm a totally new to Linux and in fact I only decided to try out Linux as I'm in biochemistry and a program I want to use it necessitates me having linux (although the benefits of Kubuntu seem very numerous after I installed it and hopefully the necessary compilers).

    Anyway, my attempts to install and compile the program are failures to this point. According to the README section, I need to alter the Makefiles to reflect my compiler, and there is a Makefile present Makefile_gnu which is for linux which uses the g77 compiler (which should be installed now).

    When I run the Install.com I get the following errors (colored):

    ********

    Installing QNIFFT

    delphi root directory set to /home/gijoe/Downloads/qnifft
    environment variable DELDIR defined


    path now set to /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /us r/games

    platform: SGI (1) GNU (2) Compaq (3) Lahey Compiler (4) Other (5)?
    2

    make -n -f $DELDIR/source/Makefile_gnu -f Makefile

    compiling utility programs

    make: $DELDIR/source/Makefile_gnu: No such file or directory
    make: *** No rule to make target `$DELDIR/source/Makefile_gnu'. Stop.
    make: $DELDIR/source/Makefile_gnu: No such file or directory
    make: *** No rule to make target `$DELDIR/source/Makefile_gnu'. Stop.
    make: $DELDIR/source/Makefile_gnu: No such file or directory
    make: *** No rule to make target `$DELDIR/source/Makefile_gnu'. Stop.
    make: $DELDIR/source/Makefile_gnu: No such file or directory
    make: *** No rule to make target `$DELDIR/source/Makefile_gnu'. Stop.


    compiling main program

    make: $DELDIR/source/Makefile_gnu: No such file or directory
    make: *** No rule to make target `$DELDIR/source/Makefile_gnu'. Stop.
    make: $DELDIR/source/Makefile_gnu: No such file or directory
    make: *** No rule to make target `$DELDIR/source/Makefile_gnu'. Stop.
    make: $DELDIR/source/Makefile_gnu: No such file or directory
    make: *** No rule to make target `$DELDIR/source/Makefile_gnu'. Stop.
    make: $DELDIR/source/Makefile_gnu: No such file or directory
    make: *** No rule to make target `$DELDIR/source/Makefile_gnu'. Stop.

    List of compiled programs:
    total 0


    To run the programs in future place these 2 commands in your log file:
    setenv DELDIR /home/gijoe/Downloads/qnifft
    set path=( $path /home/gijoe/Downloads/qnifft/bin )


    Finished Installing QNIFFT - run the examples, and go

    ****

    I guess I'm not sure why it says it cannot find the file if in fact I can see a Makefile_gnu in the directory listed.

    Thanks for any help you might have.

  2. #2
    Just Joined! hoodooman's Avatar
    Join Date
    Nov 2006
    Location
    Stirling,Scotland
    Posts
    12
    is there a configure script in the directory where your software is?If so run ./configure,let it run.when its finished type make and hit enter.If it finishes without error you then would become root and type make install.The configure script should find your compiler so you shouldnt need to edit the makefile.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...