Jump to content
  • 0

Error while compile on putty


Dolphin86

Question


  • Group:  Members
  • Topic Count:  251
  • Topics Per Day:  0.06
  • Content Count:  698
  • Reputation:   15
  • Joined:  01/07/12
  • Last Seen:  

when i write down this code on putty

./configure

all good, no problem but when i try try this cmd

make clean && make sql

got this error

dolphin@ XXXXXXXX [~/server/trunk]# make sql

make: *** No rule to make target `sql'. Stop.

any one care to help?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

Seem like your Cmake or Makefile ain't good, did you customize something ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  251
  • Topics Per Day:  0.06
  • Content Count:  698
  • Reputation:   15
  • Joined:  01/07/12
  • Last Seen:  

im not sure about that but i dint chg anything i just keep following the guides and where can i check it im following this guide http://rathena.org/w...ation_on_CentOS

Edited by dolphincute
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

did you install all the prerequisites before compiling and i dont know if i remember it right i think its make sql plugins

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  251
  • Topics Per Day:  0.06
  • Content Count:  698
  • Reputation:   15
  • Joined:  01/07/12
  • Last Seen:  

let me remove all database and SVN and start all over again, i will post again if the problem still pop up

alright i have done :

1. Remove Mysql Database

2. Remove SVN

3. Redownload SVN

4. Make New Mysql Database

5. Configure SVN conf files (Char/Map/Inter)

6. Upload SQL script (Main.sql / Itemdb.sql / Itemdb2.sql / Mob.sql / Mob2.sql )

7. Change s1 And p1

8. Compile

and i got this error :

[email protected] [~/trunk]# ./athena-start start

-bash: ./athena-start: /bin/sh^M: bad interpreter: No such file or directory

i dont really understand whats wrong there can some 1 guide me how to fix this?

Edited by dolphincute
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

Now he mean athena-start is not an executable file.

Did you do : "sudo chmod +x ./athena-start" before attemping to run it ?

I assumpe compilation was fine this time if you tryed to launch it.

Either this or you executing the cmd in the bad repertory; you can verify you are in the good one by running "ls | grep athena-start". Filename should show up if it's here.

Edited by Lighta
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  251
  • Topics Per Day:  0.06
  • Content Count:  698
  • Reputation:   15
  • Joined:  01/07/12
  • Last Seen:  

thanks problem solved ! /no1

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...