LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-16-2007, 07:15 AM   #1
pradee.y5mc
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
:bad interpreter: No such file or directory


hi
i am having problem while installing gccxml in linux the error is

running /bin/sh "/home/pradeepd/gccxml/GCC/config_cmake/gcc_platform.sh" "/home/pradeepd/gccxml-build/GCC/config_cmake/gcc_platform.cmake" "/usr/bin/cmake" 2>&1
/home/pradeepd/gccxml/GCC/config_cmake/gcc_platform.sh: /home/pradeepd/gccxml/GC: bad interpreter: No such file or directory
/home/pradeepd/gccxml/GCC/config_cmake/gcc_platform.sh: /home/pradeepd/gccxml/GC: bad interpreter: No such file or directory
: command not foundml/GCC/gcc/config.gcc: line 3:
: command not foundml/GCC/gcc/config.gcc: line 5:
: command not foundml/GCC/gcc/config.gcc: line 10:
: command not foundml/GCC/gcc/config.gcc: line 15:
: command not foundml/GCC/gcc/config.gcc: line 20:
: command not foundml/GCC/gcc/config.gcc: line 28:
: command not foundml/GCC/gcc/config.gcc: line 42:
: command not foundml/GCC/gcc/config.gcc: line 153:
: command not foundml/GCC/gcc/config.gcc: line 176:
: command not foundml/GCC/gcc/config.gcc: line 212:
/home/pradeepd/gccxml/GCC/gcc/config.gcc: line 214: syntax error near unexpected'token `in
'home/pradeepd/gccxml/GCC/gcc/config.gcc: line 214: `case $machine in
: command not foundml/GCC/gcc/config.gcc: line 3:
: command not foundml/GCC/gcc/config.gcc: line 5:
: command not foundml/GCC/gcc/config.gcc: line 10:
: command not foundml/GCC/gcc/config.gcc: line 15:
: command not foundml/GCC/gcc/config.gcc: line 20:
: command not foundml/GCC/gcc/config.gcc: line 28:
: command not foundml/GCC/gcc/config.gcc: line 42:
: command not foundml/GCC/gcc/config.gcc: line 153:
: command not foundml/GCC/gcc/config.gcc: line 176:
: command not foundml/GCC/gcc/config.gcc: line 212:
/home/pradeepd/gccxml/GCC/gcc/config.gcc: line 214: syntax error near unexpected'token `in
'home/pradeepd/gccxml/GCC/gcc/config.gcc: line 214: `case $machine in
CMake Error: Cannot find source file "/home/pradeepd/gccxml/GCC/gcc/config/.c"

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
CMake Error: CMake failed to properly look up cmSourceFile: /home/pradeepd/gccxml/GCC/gcc/config//.c
-- Checking for Large File Support
-- Checking for Large File Support - yes
-- Checking whether STL classes are in std namespace
-- Checking whether STL classes are in std namespace - yes
-- Checking whether ANSI stream headers are available
-- Checking whether ANSI stream headers are available - yes
-- Checking whether ANSI streams are in std namespace
-- Checking whether ANSI streams are in std namespace - yes
-- Checking whether ANSI string stream is available
-- Checking whether ANSI string stream is available - yes
-- Checking whether header cstddef is available
-- Checking whether header cstddef is available - yes
-- Checking whether stl string has operator!= for char*
-- Checking whether stl string has operator!= for char* - yes
-- Checking whether stl has iterator_traits
-- Checking whether stl has iterator_traits - yes
-- Checking whether stl has standard template allocator
-- Checking whether stl has standard template allocator - yes
-- Checking for rebind member of stl allocator
-- Checking for rebind member of stl allocator - yes
-- Checking for non-standard argument to stl allocator<>::max_size
-- Checking for non-standard argument to stl allocator<>::max_size - no
-- Checking whether stl containers support allocator objects.
-- Checking whether stl containers support allocator objects. - yes
-- Checking whether "<>" is needed for template friends
-- Checking whether "<>" is needed for template friends - yes
-- Checking for member template support
-- Checking for member template support - yes
-- Checking for standard template specialization syntax
-- Checking for standard template specialization syntax - yes
-- Checking whether argument dependent lookup is supported
-- Checking whether argument dependent lookup is supported - yes
-- Checking whether struct stat has st_mtim member
-- Checking whether struct stat has st_mtim member - yes
-- Checking whether C compiler has ptrdiff_t in stddef.h
-- Checking whether C compiler has ptrdiff_t in stddef.h - yes
-- Checking whether C compiler has ssize_t in unistd.h
-- Checking whether C compiler has ssize_t in unistd.h - yes
CMake Error: Cannot find source file "/home/pradeepd/gccxml/GCC/gcc/config/.c" for target "backend"

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
-- Configuring done

can any one please help me
thanks in advance
 
Old 08-17-2007, 02:46 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,421

Rep: Reputation: 199Reputation: 199
did you ftp from dos machine in ascii?

check if you have ^M characters in the script,
cat -vets

if so

dos2unix
 
  


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
bad interpreter: No such file or directory EcLip$e Linux - General 34 10-07-2013 03:11 AM
: bad interpreter: No such file or directory ciberrust Linux - Networking 10 09-09-2010 06:51 AM
: bad interpreter: No such file or directory User2 Linux - Software 2 06-03-2006 04:58 PM
: bad interpreter: No such file or directory lnx8 Linux - General 4 04-29-2004 02:56 AM
bash: ./myscript: bad interpreter: No such file or directory Stefangeelen Linux - Newbie 3 09-05-2002 01:50 AM


All times are GMT -5. The time now is 09:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration