Re: [osol-discuss] Bacula build
Robert Hartzell writes: > Harry Putnam wrote: >> Harry Putnam writes: >> Check if you have in addition SUNWmysql installed, configure will use /usr/sfw/bin/mysql_config from this package to figure out where are include and lib files, then try with: ./configure --with-mysql=/usr/sfw/ >>> Thanks... but I'm a bit confused here... when I search for that pkg >>> >>> pkg search mysql|grep 'sfw.*SUNWmysql@' >>> It appears there is no version 5.1 only 4.0.24 >>> >>> Am I supposed to have 2 versions installed in different places to get a >>> build of bacula to work? >>> >>> That sounds strange... and likely to cause problems no? >> >> I went ahead and installed this package: >> >> sunwmy...@4.0.24-0.111 in addition to those already installed: >> > > The sql statements in bacula 3.0 are not compatible with mysql 4.0.1 > so I don't know how far you will get 4.0.24, may work fine but i > would use a newer version > > use --with-mysql=/usr/mysql/5.1 > or change the 5.1 to the version of mysql you want to use thats > installed on your system Ha.. thanks again for the help and being persistent ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Bacula build
evaldas writes: > Hi, > > Check if you have in addition SUNWmysql installed, configure will > use /usr/sfw/bin/mysql_config from this package to figure out where > are include and lib files, then try with: > > ./configure --with-mysql=/usr/sfw/ > > Regards, After tinkering around some more I see what the trouble was. I didn't need the package you suggested... and uninstalled it. What I needed was to tell ./configure in general where to look for mysql stuff: --with-mysql=/usr/mysql/5.1 I'd been using the suggestion in the README that says to `--with-mysql' But that is expecting a linux environment. Once I set the top level to look for mysql... all started working. ./configure --prefix=/usr/local/src/test --with-mysql=/usr/mysql/5.1 Seems to have worked. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Bacula build
Harry Putnam wrote: Harry Putnam writes: Check if you have in addition SUNWmysql installed, configure will use /usr/sfw/bin/mysql_config from this package to figure out where are include and lib files, then try with: ./configure --with-mysql=/usr/sfw/ Thanks... but I'm a bit confused here... when I search for that pkg pkg search mysql|grep 'sfw.*SUNWmysql@' It appears there is no version 5.1 only 4.0.24 Am I supposed to have 2 versions installed in different places to get a build of bacula to work? That sounds strange... and likely to cause problems no? I went ahead and installed this package: sunwmy...@4.0.24-0.111 in addition to those already installed: The sql statements in bacula 3.0 are not compatible with mysql 4.0.1 so I don't know how far you will get 4.0.24, may work fine but i would use a newer version use --with-mysql=/usr/mysql/5.1 or change the 5.1 to the version of mysql you want to use thats installed on your system -- Robert W Hartzell bear at rwhartzell.net RwHartzell.Net ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Bacula build
Harry Putnam writes: >> Check if you have in addition SUNWmysql installed, configure will >> use /usr/sfw/bin/mysql_config from this package to figure out where >> are include and lib files, then try with: >> >> ./configure --with-mysql=/usr/sfw/ > > Thanks... but I'm a bit confused here... when I search for that pkg > > pkg search mysql|grep 'sfw.*SUNWmysql@' > It appears there is no version 5.1 only 4.0.24 > > Am I supposed to have 2 versions installed in different places to get a > build of bacula to work? > > That sounds strange... and likely to cause problems no? I went ahead and installed this package: sunwmy...@4.0.24-0.111 in addition to those already installed: SUNWmysql-base (dev) 0.5.11-0.111installed SUNWmysql51 (dev) 5.1.30-0.111installed SUNWmysql51lib (dev) 5.1.30-0.111installed SUNWmysql51test (dev) 5.1.30-0.111installed SUNWphp52-mysql (dev) 5.2.9-0.111 installed Then running your suggested cmdline (with my own PREFIX) ./configure --prefix=/usr/local/src/test --with-mysql=/usr/sfw/ [...] Still fails looking for mysql.h configure: error: Invalid MySQL directory /usr/sfw/ - unable to find mysql.h under /usr/sfw/ Far as I know mysql.h is not a library.. but an include file. And at any rate is not included in the package you mention: pkg contents SUNWmysql|grep mysql.h$ ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Bacula build
evaldas writes: > Hi, > > Check if you have in addition SUNWmysql installed, configure will > use /usr/sfw/bin/mysql_config from this package to figure out where > are include and lib files, then try with: > > ./configure --with-mysql=/usr/sfw/ Thanks... but I'm a bit confused here... when I search for that pkg pkg search mysql|grep 'sfw.*SUNWmysql@' It appears there is no version 5.1 only 4.0.24 Am I supposed to have 2 versions installed in different places to get a build of bacula to work? That sounds strange... and likely to cause problems no? Here is what I have installed: SUNWmysql-base (dev) 0.5.11-0.111installed SUNWmysql51 (dev) 5.1.30-0.111installed SUNWmysql51lib (dev) 5.1.30-0.111installed SUNWmysql51test (dev) 5.1.30-0.111installed SUNWphp52-mysql (dev) 5.2.9-0.111 installed ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Bacula build
Hi, Check if you have in addition SUNWmysql installed, configure will use /usr/sfw/bin/mysql_config from this package to figure out where are include and lib files, then try with: ./configure --with-mysql=/usr/sfw/ Regards, -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
[osol-discuss] Bacula build
Attempting to compile bacula... I get this error from ./configure configure: error: Unable to find mysql.h in standard locations My command looks like: ./configure --prefix=/usr/local/src/test \ --with-mysql --includedir=/usr/mysql/5.1/include/mysql/ And you can see mysql.h is where I told configure: ls -l /usr/mysql/5.1/include/mysql/mysql.h -r--r--r-- 1 root bin 33654 [...] /usr/mysql/5.1/include/mysql/mysql.h ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org