G33X Nexus Entertainment

G33X Nexus Entertainment => Precursors => Requiem for Innocence => Current Projects => Bug Reports => Topic started by: Recon on August 03, 2006, 06:17:30 am

Title: Compile Problem
Post by: Recon on August 03, 2006, 06:17:30 am
Title: Re: Compile Problem
Post by: contingencyplan 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
Title: Re: Compile Problem
Post by: whitelynx 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.
Title: Re: Compile Problem
Post by: Recon on August 04, 2006, 08:54:48 am
Title: Re: Compile Problem
Post by: Morgul on August 04, 2006, 10:55:27 am
Did you reconfigure the application after installing mysql?
Title: Re: Compile Problem
Post by: Recon on August 04, 2006, 08:33:55 pm
Title: Re: Compile Problem
Post by: Caenus on August 04, 2006, 10:36:18 pm
mein gott!
Title: Re: Compile Problem
Post by: whitelynx 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
Title: Re: Compile Problem
Post by: Morgul 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....
Title: Re: Compile Problem
Post by: whitelynx 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.
Title: Re: Compile Problem
Post by: Recon on August 05, 2006, 04:16:06 pm
Title: Re: Compile Problem
Post by: whitelynx 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.
Title: Re: Compile Problem
Post by: Recon 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


Title: Re: Compile Problem
Post by: Recon on August 06, 2006, 06:50:24 pm
think i spotted the mysql problem, downloaded to i686 source instead of the i386  ::)

opps

Title: Re: Compile Problem
Post by: Morgul 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.
Title: Re: Compile Problem
Post by: whitelynx on August 06, 2006, 09:27:31 pm
Make sure you double-check the Known Bugs section (https://adidas.servegame.org/projects/precursors/wiki/Development/Releases#KnownBugs) in Trac before posting a bug... I just added a couple of tickets the other day.