on Thu, Nov 30, 2000 at 04:46:17PM -0800, Jinsong Zhao ([EMAIL PROTECTED]) wrote: > This is the first horrible thing I can think of: code compiled on > Debian does not run on Redhat! Several programs I compiled on the > Debian run fine on Debian, but when I installed Redhat and tried to > run those programs, say in bash you type "./pgp", then the error > message is: > > bash: ./pgp: No such file or directory > > I used this command: "sh pgp" and then the error message is: > > cannot execute binary file > > I downloaded the binary geomview package from www.geomview.org. It > runs fine on Debian, but it has the several problem as above. > > My redhat is 7.0. What is happening here? Does anyone have similar > experience?
Is this a script? How have you transferred it between systems? Are there any embedded carriage returns (ASCII \015, ^M) at the end of lines? If so, you may be fooling your command interpreter, and need to strip out the carriage returns. The dos2unix utility should do this for you. Just ran into this myself yesterday ;-P -- Karsten M. Self <kmself@ix.netcom.com> http://www.netcom.com/~kmself Evangelist, Zelerate, Inc. http://www.zelerate.org What part of "Gestalt" don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org
pgpf55CtKjNLJ.pgp
Description: PGP signature