Jump to content
  • 0

Problem with compilation and configure


Question

Posted

Hi guys.

Here's my problem. Actually, I don't know how it really happens, but here's the symptome:

When I do a make clean + make sql without using the ./configure before, I can compile.

But if I use the ./configure before (and I need it to use the PCRE), no way I can't compile, I still have this error:

entrant dans le répertoire « /home/member/rathena/trunk/src/common »

mkdir obj_all

make[1]: *** Pas de règle pour fabriquer la cible « obj_all/core.o », nécessaire pour « common ». Arrêt.

make[1]: quittant le répertoire « /home/member/rathena/trunk/src/common »

make: *** [common_sql] Erreur 2

(sorry for the french version). Actually, it says thats there's no rule to create obj_all/core.o which is required.

I really don't know what to do. That's not my first server, I've worked on several rathena version but that's the first time I've got this problem...

Can anybody help me?

5 answers to this question

Recommended Posts

Posted

Several questions:

1. what SVN version of rAthena are you using?

and did you checkout from the SVN or download a precompiled one (if so, link please)

2.

Here's my problem. Actually, I don't know how it really happens, but here's the symptome:

When I do a make clean + make sql without using the ./configure before, I can compile.

Where did you do ./configure before?

Was this folder on another computer that you compiled on before and then you moved the files to a new computer?

But if I use the ./configure before (and I need it to use the PCRE), no way I can't compile

3. it sounds like there were errors when you did ./configure

Can you post those errors?

Posted

So, here's the answers:

1) we use the last release (17038 or 17058 if my memories are good), obtained via a checkout. We don't used a precompiled one.

2) we use the commands on the root directory (rathena/trunk), as usual. I must admit that I don't understand you second question, sorry. We don't move anything, the only thing we did was changing the compile command (before: make clean then make sql ==> ok, after: ./configure, make clean then make sql ==> nok)

3) There's no error on the ./configure. That's why it's weird. The only thing I can say is that if I do a ./configure before the two make, the compilation fails...

Posted
before: make clean then make sql ==> ok,

after: ./configure, make clean then make sql ==> not ok

That's the weird part. I'm not sure how you are able to compile without doing ./configure first.

The ./configure command is what creates the makefiles.

If you don't do ./configure and try to compile, you should get this error:

brian@bender:~/trunk# make clean
make: *** No rule to make target `clean'.  Stop.
brian@bender:~/trunk# make sql
make: *** No rule to make target `sql'.  Stop.

Oh! one more question: 32-bit or 64-bit?

If you're using a 32-bit linux OS, then you need to do:

./configure --disable-64bit

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...