Re: Building from source
Nuno Pereira <[email protected]>
| Newsgroups | gmane.comp.db.mysql.mycc |
|---|---|
| Message-ID | <[email protected]> |
Both Florus wrote: > hi, you might wanna check your path settings, cause it can be that pkg-config is in for example /usr/local/bin or even in both in /usr/bin and /usr/local/bin in which case the order of your path has an influence. > > what does pkg-config give for output? $ which pkg-config /usr/bin/pkg-config > /florus > > -----Original Message----- > From: Nuno Pereira [mailto:[email protected]] > Sent: 01 September 2005 12:09 > To: [email protected]; MySQL GUI Tools > Subject: Re: Building from source > > > [email protected] wrote: > >>Please elaborate. What version of Linux are you using? > > > I'm using Fedora Core 3. Here the output of uname: > > $ uname -a > Linux di138 2.6.12-1.1372_FC3 #1 Fri Jul 15 00:59:10 EDT 2005 i686 i686 > i386 GNU/Linux > > The problem is that when I follow the instructions on > http://dev.mysql.com/doc/administrator/en/mysql-gui-install-source-linux-compiling.html > it gives me this error > > ---------------------- > (...) > checking for glib-2.0 libxml-2.0 >= 2.6.2... Package glib-2.0 was not > found in the pkg-config search path. > Perhaps you should add the directory containing `glib-2.0.pc' > to the PKG_CONFIG_PATH environment variable > No package 'glib-2.0' found > > configure: error: Library requirements (glib-2.0 libxml-2.0 >= 2.6.2) > not met; consider adjusting the PKG_CONFIG_PATH environment variable if > your libraries are in a nonstandard prefix so pkg-config can find them. > ----------------------- > > It happens that I have both installed: > > $ locate glib-2.0 > /usr/lib/libglib-2.0.so.0.400.8 > /usr/lib/libglib-2.0.so.0 > > $ locate libxml |grep .so > /usr/lib/libxml2.so > /usr/lib/libxml2.so.2.6.16 > /usr/lib/libxml2.so.2 > (and others) > > $ rpm -qa libxml2 > libxml2-2.6.16-3 > > > I tried setting PKG_CONFIG_PATH with /usr/lib and > /usr/lib:/usr/lib/libglib-2.0.so.0 but that didn't solve it. > I didn't found .pc files for pkgconfig in his dir. Is it the problem? > > >>>Because Linux versions are older, i am trying to build the Query Browser >> >>>from source, but I'm having some problems, but that is not the issue, >> >>>for now. The problem is that the bitkeeper source is older: MySQL QB is >>>in version 1.1.12 for Linux, but in BitKeeper tree at >>>http://mysql.bkbits.net:8080/mysql-query-browser/ is in 1.1.6. >>>What's the problem? Where can we find the latest kernel tree? -- Nuno Pereira -- MySQL GUI Tools Mailing List For list archives: http://lists.mysql.com/gui-tools To unsubscribe: http://lists.mysql.com/[email protected]