Sponsored Content
Full Discussion: C command not found
Top Forums Shell Programming and Scripting C command not found Post 302916931 by biochemist on Friday 12th of September 2014 02:35:26 PM
Old 09-12-2014
Dear Corona688,
This is a program called mfold-3.6 which I downloaded from
Code:
http://mfold.rna.albany.edu/?q=mfold/download-mfold

and am trying to install on OpenSuse linux (Linux 3.11.10-21-desktop x86_64).
The install file mentions the following steps to install:
Code:
M. Zuker, March 2013.

                       INSTALLATION of mfold 3.5

mfold version 3.5 uses a configure script.

Some non-interactive mfold_util programs, in particular, sir_graph and
boxplot_ng, are included so that structure and dot plots can be
created. It is preferable to have the mfold_util-4.6 versions of these
programs.  

With this version, no environment variables are required. Energy and
related files will be read from the installation data directory,
usually /usr/local/share/mfold (or $prefix/share/mfold, where $prefix
is specified by using --prefix= when running ./configure).

After running ./configure (or the more convenient ./Configure.bash
script), 

make

compiles the Fortran, C and C++ programs and creates the mfold and
mfold_quik scripts.

make install

places the binaries and scripts into $prefix/bin and data files into
$prefix/share/mfold. These directories are created if they do not
already exist.

As in earlier versions, the current working directory will be searched
first for energy files when the folding program is run.

Please report bugs, other problems or suggestions to zukerm@rpi.edu
Look at the files in the "doc" directory, especially the manual, which
is in PostScript, pdf and HTML form.

I have already downloaded the program in /usr/local/mfold-3.6 folder.

This is the output of my ./Confiugre_bash:
Code:
linux-oc9r:/usr/local/mfold-3.6 # ./Configure.bash 
configure: loading site script /usr/share/site/x86_64-unknown-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... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking for gawk... (cached) gawk
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of c++... gcc3
checking for gcc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking whether ln -s works... yes
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgfortran... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking for nagfor... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking for ranlib... ranlib
checking how to run the C preprocessor... cc -E
checking whether cc understands -c and -o together... yes
checking for sqrt in -lm... yes
checking for gdImageCreate in -lgd... no
checking for jpeg_CreateCompress in -ljpeg... no
checking for png_init_io in -lpng... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking gd.h usability... no
checking gd.h presence... no
checking for gd.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether struct tm is in sys/time.h or time.h... time.h
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for error_at_line... yes
checking for bzero... yes
checking for floor... yes
checking for sqrt... yes
checking for strchr... yes
checking for strspn... yes
checking for strstr... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating c++/Makefile
config.status: creating src/Makefile
config.status: creating dat/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/filter-sort
config.status: creating scripts/h-num
config.status: creating scripts/reformat-seq.sh
config.status: creating scripts/mfold
config.status: creating scripts/mfold_quik
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

After that I issue "make" command which gives me huge compilation output, the first few lines I am pasting here:
Code:
linux-oc9r:/usr/local/mfold-3.6 # make
make  all-recursive
make[1]: Entering directory `/usr/local/mfold-3.6'
Making all in src
make[2]: Entering directory `/usr/local/mfold-3.6/src'
C -O3 -Wall -fno-automatic -ffixed-line-length-none   -c -o distance-distance.o `test -f 'distance.f' || echo './'`distance.f
/bin/sh: C: command not found
make[2]: [distance-distance.o] Error 127 (ignored)
C -O3 -Wall -fno-automatic -ffixed-line-length-none     -o distance distance-distance.o distance-bpin.o distance-bpsrch.o  -lpng -lm 
make[2]: C: Command not found
make[2]: [distance] Error 127 (ignored)
C -O3 -Wall -fno-automatic -ffixed-line-length-none   -c -o ct2bp-ct2bp.o `test -f 'ct2bp.f' || echo './'`ct2bp.f
/bin/sh: C: command not found

Here in the output you can see the error: "/bin/sh: C: command not found"

When I try to execute the program, it dies with an "auxgen" error, see below:

Code:
 mfold version 3.6
REUSE= NO
auxgen failed
Job Aborted

I am not sure how to troubleshoot.

Thanks for your time and consideration.
Regards
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how can i check in csh if command found or not found ?

hello all im trying to use in sun Solaris the information received from the top command now i several machines that dont have install the top program so when im running the script im geting error saying after im running this code : set MemoryInfo = `top | grep Memory` if (... (2 Replies)
Discussion started by: umen
2 Replies

2. UNIX for Dummies Questions & Answers

cc command not found

i installed x windows redhat linux 9.0 in my pc. but the problem is when i run cc command for c programme .....bash:cc: command not found printed ...........i set the path for bash ............with the help of PATH=$PATH....................still it is not working .........please guide me. (4 Replies)
Discussion started by: mishra_sk_in
4 Replies

3. UNIX for Dummies Questions & Answers

Command not found

Hi guys, I do apologise if this question has been asked before. I am currently running Solaris 10 on a x86 architecture. Now, the problem I am having relates to the issuing of commands, for example if I am trying to find out the ipaddress of the machine I would issue the command 'ipconfig -a |... (2 Replies)
Discussion started by: BigTool4u2
2 Replies

4. Shell Programming and Scripting

Always getting command not found

I'm using Terminal in MAC OS X, and new to this. I don't know what happened to the path. I always get "command not found". For example, this is some of what I get: -bash: ls: command not found -bash: touch: command not found What should I do to return the terminal to normal? ... (0 Replies)
Discussion started by: Abder-Rahman
0 Replies

5. Solaris

for: command not found

I have installed Solaris recently. I was doing "for file in *.c; ...." at the command prompt, it says for: command not found. I tried changing shells, but still wouldn't work. Any ideas? (7 Replies)
Discussion started by: software2007
7 Replies

6. Shell Programming and Scripting

bash: <command nm> command not found

I created a script that I need to run from time to time, but get this error message. To get it working again I run this command from time to time: export PATH="$PATH:~/scripts" I put all my automated scripts in the /scripts directory and would like to run my scripts from any directory... (5 Replies)
Discussion started by: catalinawinemxr
5 Replies

7. Homework & Coursework Questions

Command not found

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Trying to run script but everytime I do I get teh following error message line 4: I have attempted... (5 Replies)
Discussion started by: tbear808
5 Replies

8. Shell Programming and Scripting

When i am trying to execute export command within a shell script it is saying command not found.

I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found" My code is as follows: -------------------------- #!/bin/sh user="test" DIR="/bldtmp/"$user VIEW="test.view1" echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies

9. Shell Programming and Scripting

Want to terminate command execution when string found in the command output

Hi Experts, I am very much new to linux scripting, I am currently working on reducing my manual work and hence writing a script to automate few task. I am running below command to snmpwalk the router.. snmpwalk -v 3 -u WANDL_SU -a MD5 -A vfipmpls -x DES -X VfIpMpLs -l authPriv... (19 Replies)
Discussion started by: Hanumant.madane
19 Replies

10. Solaris

Ar command not found

Hi all, ar command not found on Solaris 10 version. We can execute under ./ar command /usr/ccs/bin directory. However, we want to execute ar command anywhere. We add to /usr/ccs/bin entry under /etc/profile file shown as below. umask 002 trap 2 3 ... (2 Replies)
Discussion started by: ziosnim
2 Replies
All times are GMT -4. The time now is 11:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy