Re: Trying to compile on Unix
Bryan Richardson <[email protected]> Tue, 15 Nov 2005 12:53:28 -0700
| Newsgroups | gmane.comp.lib.mtl.devel |
|---|---|
| Message-ID | <[email protected]> |
Thank you! That fixed it... :) On 11/15/05, Markus Grabner <[email protected]> wrote: > Am Dienstag, 15. November 2005 18:55 schrieb Bryan Richardson: > > Hello all, > > > > I am now trying to install MTL on a unix machine. I downloaded the > > file "mtl-2.1.2-22.tar.gz" and unzipped (for lack of a better term) it > > to my home directory. I opened the "install" file and began to follow > > the directions. I set my CXX environment variable by doing the > > following: CXX=g++ <enter> export CXX <enter> > > > > I then went to run the configure file by doing the following: > > ./configure --prefix=/usr/include/c++/4.0.2/ > > > > When I do this, I get the following: > > bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory > > > > Can anyone help me with this? > Looks like your "configure" has been edited and stored under Windows, so the > "/bin/sh" got a <CR> character appended to it (the "^M"). If this is the > case, there are several ways to fix that, e.g. the program "dos2unix". > > Kind regards, > Markus > > > -- > Markus Grabner - Computer Graphics and Vision > Graz University of Technology, Inffeldgasse 16/II, 8010 Graz, Austria > Phone: +43/316/873-5041, Fax: +43/316/873-5050 > WWW: http://www.icg.tu-graz.ac.at/Members/grabner > _______________________________________________ > This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/ > _______________________________________________ This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/