Jump to content
  • 0
Aeromesi

Question on compiling with Linux

Question

Okay so, I used su (superuser privilages) on my root account, and typed in the command line with ssh

" ./configure --enable-packetver=20140115" I try make sql etc and it says "bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory

"

What could the problem be?

An image is attached.

Thanks guys

post-4149-0-99702500-1393284466_thumb.png

Share this post


Link to post
Share on other sites

15 answers to this question

Recommended Posts

  • 0

Try to execute
./configure 

make clean && make sql

 

if 64 bit

 

./configure --enable-64bit

make clean && make sql

 

if cannot compile no such directory.

 

chmod a+x ./configure

./configure

make clean && make sql

Share this post


Link to post
Share on other sites
  • 0

Still no luck... Not sure if I'm doing anything wrong, anyone care to help me out through teamviewer? Message me on the forum. Thanks!

Share this post


Link to post
Share on other sites
  • 0

Type following commands to fix that problem

vi configure:set ff=unix:wq
Then if it says permission denied, type following command

chmod a+x configure
And your problem will be fixed and let us know if it has fixed your problem. Edited by Dastgir Pojee

Share this post


Link to post
Share on other sites
  • 0

Where do I type vi configure in? /bin/ or what?

type all thos commands from emulator folder,

if your emulator is in /root/hercules , go to that folder via

cd /root/hercules

and type the commands mentioned in above post.

Share this post


Link to post
Share on other sites
  • 0

yep but where do i edit?

Check the new attachment, i have the file open but I don't know where to put the command you mentioned, i understand i have to edit or add something then save the file and exit vi

post-4149-0-43499900-1393393076_thumb.png

Edited by Aeromesi

Share this post


Link to post
Share on other sites
  • 0

Open configure via

vi configure

this will open up the file, dont do anything just type

:set ff=unix

then type

:wq

 

when typing :set ff=unix, this will show at bottom of line(but its not getting inserted into file, its setting fileformat to unix,

OR

simply, copy those 3 commands at once from above post, go to putty in ur emulator folder, and paste it via right click, and press enter

Share this post


Link to post
Share on other sites
  • 0

Okay got it working but now this...
 

checking for suffix of executables... configure: error: in `/opt/hercules':
configure: error: cannot compute suffix of executables: cannot compile and link
See `config.log' for more details
root@euve32987:/opt/hercules#


Sorry but I haven't used linux in forever. =.=
Edited by Aeromesi

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.