Author Topic: Compile Problem  (Read 9714 times)

Offline Recon

  • Lieutenant
  • ***
  • Posts: 60
  • Karma: +1/-0
    • View Profile
Compile Problem
« on: August 03, 2006, 06:17:30 am »

Offline contingencyplan

  • Villain
  • Ivory-Tower Theorist
  • Admiral
  • *****
  • Posts: 977
  • Karma: +1/-0
  • Must I sin once, and repent forever?
    • View Profile
    • My Blog
Re: Compile Problem
« Reply #1 on: August 03, 2006, 10:56:06 am »
MySQL is not currently needed to run the app. Ignore the error for now. Maybe it'll go away on its own -- er, I mean get fixed sometime in the near future. :P
We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true. 
    ~Robert Wilensky

It is not bigotry to be certain we are right; but it is bigotry to be unable to imagine how we might possibly have gone wrong.
    ~GK Chesterton

Men never do evil so completely and cheerfully as when they do it from a religious conviction.
    ~Blaise Pascal

Offline whitelynx

  • GNE Founder
  • Head Code Monkey
  • Commodore
  • *****
  • Posts: 304
  • Karma: +4/-0
  • Internet Idiocy Pundit
    • View Profile
Re: Compile Problem
« Reply #2 on: August 03, 2006, 10:59:17 pm »
Make sure you installed the headers as well as the libs for mysql... I know some libraries have a bad habit of only installing the compiled libraries. Other than that... could you give us a bit more info about your setup? Where is mysql installed to, where do the include and lib files for it live on your system, etc.
"Without music, life is a mistake, a trial, an exile."
 - Nietzsche

Offline Recon

  • Lieutenant
  • ***
  • Posts: 60
  • Karma: +1/-0
    • View Profile
Re: Compile Problem
« Reply #3 on: August 04, 2006, 08:54:48 am »

Offline Morgul

  • GNE Founder
  • Godlike Fuzzy Dice
  • Grand Admiral
  • **********
  • Posts: 2086
  • Karma: +21/-4
  • Godlike Fuzzy Dice
    • View Profile
    • G33X Nexus Entertainment
Re: Compile Problem
« Reply #4 on: August 04, 2006, 10:55:27 am »
Did you reconfigure the application after installing mysql?
"Just because my math may tell lies doesn't mean that I don't understand the quantum mechanics of it all." --Caenus

The popular videogame "Doom" is based loosely around the time Satan borrowed two bucks from Vin Diesel and forgot to pay him back.

"In the beginning there was nothing. And it exploded." --Terry Pratchett

Offline Recon

  • Lieutenant
  • ***
  • Posts: 60
  • Karma: +1/-0
    • View Profile
Re: Compile Problem
« Reply #5 on: August 04, 2006, 08:33:55 pm »

Offline Caenus

  • Married Man
  • Concept Artist
  • Grand Admiral
  • ******
  • Posts: 2351
  • Karma: +5000/-1
  • That, I cannot do.
    • View Profile
    • Art Blog
Re: Compile Problem
« Reply #6 on: August 04, 2006, 10:36:18 pm »
mein gott!
Merciful Father, I have squandered my days with plans of many things. This was not among them. But at this moment, I beg only to live the next few minutes well. For all we ought to have thought, and have not thought; all we ought to have said, and have not said; all we ought to have done, and have not done; I pray thee God for forgiveness.

Offline whitelynx

  • GNE Founder
  • Head Code Monkey
  • Commodore
  • *****
  • Posts: 304
  • Karma: +4/-0
  • Internet Idiocy Pundit
    • View Profile
Re: Compile Problem
« Reply #7 on: August 05, 2006, 01:45:01 am »
well , Here is the output of

./configure --without-bfd --enable-debug

<snip>
checking for libcppunit... no
checking if pkg-config recognizes mysqlclient... no
checking for mysqlclient-config... no
checking for libmysqlclient... no
checking if pkg-config recognizes CEGUI... yes

<snip>

Looking at that, I'd say the problem is that configure isn't finding mysql at all. Try specifying where to find it when running configure:
./configure --without-bfd --enable-debug --with-mysqlclient=$HOME/development/mysql-5.0.22

If it still doesn't work, try configuring mysql with --prefix=/usr and running make install in the mysql dir as root. That will install all of mysql's stuff to /usr.

Dave
"Without music, life is a mistake, a trial, an exile."
 - Nietzsche

Offline Morgul

  • GNE Founder
  • Godlike Fuzzy Dice
  • Grand Admiral
  • **********
  • Posts: 2086
  • Karma: +21/-4
  • Godlike Fuzzy Dice
    • View Profile
    • G33X Nexus Entertainment
Re: Compile Problem
« Reply #8 on: August 05, 2006, 10:31:50 am »
However, the giant problem here is the inability he has to load cel's mesh plugin, right? Not finding mysql wouldn't be causing that, as far as I can tell....
"Just because my math may tell lies doesn't mean that I don't understand the quantum mechanics of it all." --Caenus

The popular videogame "Doom" is based loosely around the time Satan borrowed two bucks from Vin Diesel and forgot to pay him back.

"In the beginning there was nothing. And it exploded." --Terry Pratchett

Offline whitelynx

  • GNE Founder
  • Head Code Monkey
  • Commodore
  • *****
  • Posts: 304
  • Karma: +4/-0
  • Internet Idiocy Pundit
    • View Profile
Re: Compile Problem
« Reply #9 on: August 05, 2006, 01:17:00 pm »
True. It sounds like it probably wouldn't be able to load any of the CEL propclasses, which means it probably can't find the CEL directory. Recon: do you have the $CEL environment variable set? I usually put it in my .bashrc file, along with $CRYSTAL.

As far as the Jamfile, that is auto-generated. To have your changes stick, you'd have to modify Jamfile.in. However, I don't really suggest doing that modification, as it could lead to collisions if you try updating from svn. It's much safer to just tell configure where to find mysql.
"Without music, life is a mistake, a trial, an exile."
 - Nietzsche

Offline Recon

  • Lieutenant
  • ***
  • Posts: 60
  • Karma: +1/-0
    • View Profile
Re: Compile Problem
« Reply #10 on: August 05, 2006, 04:16:06 pm »

Offline whitelynx

  • GNE Founder
  • Head Code Monkey
  • Commodore
  • *****
  • Posts: 304
  • Karma: +4/-0
  • Internet Idiocy Pundit
    • View Profile
Re: Compile Problem
« Reply #11 on: August 05, 2006, 06:23:09 pm »
Try updating CEL from SVN again and see if it builds... it looks like a code error, which means it's probably been fixed by the CEL devs.
"Without music, life is a mistake, a trial, an exile."
 - Nietzsche

Offline Recon

  • Lieutenant
  • ***
  • Posts: 60
  • Karma: +1/-0
    • View Profile
Re: Compile Problem
« Reply #12 on: August 06, 2006, 06:21:54 pm »
Well precursor is now loading and I can actualy get a local net game going.
 :)

updating CEL fixed my meshfact problem!

Still trying to get the SQL headers compiling.

Got interesting when I loaded up 2 instances and got them networked.
Was wondering what the situation is with testing,  I am compiling you dev code and not sure if it's worthwhile reporting bugs.

Regards



Offline Recon

  • Lieutenant
  • ***
  • Posts: 60
  • Karma: +1/-0
    • View Profile
Re: Compile Problem
« Reply #13 on: August 06, 2006, 06:50:24 pm »
think i spotted the mysql problem, downloaded to i686 source instead of the i386  ::)

opps


Offline Morgul

  • GNE Founder
  • Godlike Fuzzy Dice
  • Grand Admiral
  • **********
  • Posts: 2086
  • Karma: +21/-4
  • Godlike Fuzzy Dice
    • View Profile
    • G33X Nexus Entertainment
Re: Compile Problem
« Reply #14 on: August 06, 2006, 07:53:21 pm »
It is worthwhile posting bugs, however, we're still obviously in the alpha stages. Networking is being rewritten entirely with a new network lib... so those bugs might not be worth reporting. Depends on what you think, honestly. After all, it can't hurt to have too many bug reports.
"Just because my math may tell lies doesn't mean that I don't understand the quantum mechanics of it all." --Caenus

The popular videogame "Doom" is based loosely around the time Satan borrowed two bucks from Vin Diesel and forgot to pay him back.

"In the beginning there was nothing. And it exploded." --Terry Pratchett

Offline whitelynx

  • GNE Founder
  • Head Code Monkey
  • Commodore
  • *****
  • Posts: 304
  • Karma: +4/-0
  • Internet Idiocy Pundit
    • View Profile
Re: Compile Problem
« Reply #15 on: August 06, 2006, 09:27:31 pm »
Make sure you double-check the Known Bugs section in Trac before posting a bug... I just added a couple of tickets the other day.
"Without music, life is a mistake, a trial, an exile."
 - Nietzsche