SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Use Bacula Sun Solaris 10 SPARC
Author Message
Post Use Bacula Sun Solaris 10 SPARC 
Thanks for your help I have a Question. How to flow Bacula on Sun Solaris JAVA Desktop 

--sbindir=$HOME/bacula/bin
  --sysconfdir=$HOME/bacula/bin
  --with-mysql=$HOME/mysql
  --enable-smartalloc
  --with-pid-dir=$HOME/bacula/bin/working
  --with-subsys-dir=$HOME/bacula/bin/working
  --with-working-dir=$HOME/bacula/working


On Wed, Jul 7, 2010 at 12:43 PM, Fred <fred < at > nfrance.com ([email]fred < at > nfrance.com[/email])> wrote:
Hello,

if I can add some precisions.

Le mercredi 07 juillet 2010 11:26:22, Anatoly Pugachev a écrit :
Koray,

please see below,


most SUNW* packages are from installation media (dvd/cd) of Solaris 10.
If you don't have installation dvd/cd disks, you can download them for
free from sun.com site.


And normally, they should have been installed i the full cluster has been
chosed at install.

b. How to use A typical configuration command below ?

#!/bin/sh
CFLAGS="-g" ./configure

  --sbindir=$HOME/bacula/bin
  --sysconfdir=$HOME/bacula/bin
  --with-mysql=$HOME/mysql
  --enable-smartalloc
  --with-pid-dir=$HOME/bacula/bin/working
  --with-subsys-dir=$HOME/bacula/bin/working
  --with-working-dir=$HOME/bacula/working

this lines can be put into command line/batch/shell file, and
then run from the bacula source directory. This makes bacula to be
configured to be installed into $HOME/bacula directory.


Personnally, I prefer puting this stuff on /usr/local or /opt/. I hate having
systems binaries in my home.


c. How to compile bacula-5.0.2 ?

after you have finished with installing needed SUNW* packages and also
with steps [a] and [b] you can compile and install bacula with 2 more
command in bacula sources directory:

1) "make"
2) if "make" was success, "make install" for installation.


Beware !

My last test for building Bacula on Solaris ran into troubles because of the
falvour of make I cast. You'll ma be facing error if you use Sun Studio's
Compiler. This is not sure, but, be prepared.

Since, I jump into Gentoo Sparc and Bacula is building fine Wink



--
---------------------Hayatı Ciddiye Alma Asla Sağ Çıkamıycaksın !--------------------

Post Use Bacula Sun Solaris 10 SPARC 
On 07/08/10 06:59, Koray AGAYA wrote:
Thanks for your help I have a Question. How to flow Bacula on Sun
Solaris JAVA Desktop

I'm sorry, I don't understand the question. Could you try rephrasing it?


--
Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
alaric < at > caerllewys.net alaric < at > metrocast.net phil < at > co.ordinate.org
Renaissance Man, Unix ronin, Perl hacker, Free Stater
It's not the years, it's the mileage.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Use Bacula Sun Solaris 10 SPARC 
On Thu, July 8, 2010 20:59, Koray AGAYA wrote:
Thanks for your help I have a Question. How to flow Bacula on Sun Solaris
JAVA Desktop
Get the qt4.3 package from the Bacula depgks site, and build it.

Then, modify the configuration script in the 5.0.2 to look for qt where
you installed it, and then run configure.

Here's my re-conf.sh script, for 3.0.3, but since 5.x is so badly broken
I've avoided it.

I use the SunStudio compiler, even though the gcc version has fewer
warnings, the performance increase is worth it. (And I've also modified
things to build a 64-bit version, which flies.)

I also use the WebStack MySQL, and had to massage configure to recognise
it. Someday I'll re-start the discussion about configure recognising .so
files, but I'll wait on them fixing 5.x.

re-conf.sh:
#!/bin/sh

PATH=/opt/webstack/bin:/opt/webstack/mysql/bin/64:/opt/webstack/mysql/bin:/bin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/sbin:/usr/sbin:/usr/local/bin:$HOME/src/bacula/depkgs-qt/qt-x11-opensource-src-4.3.4/bin
export PATH

./configure \
CC=cc CXX=CC \
CFLAGS="-g -O" \
LDFLAGS="-R/opt/webstack/mysql/lib/mysql -L/usr/sfw/lib -R/usr/sfw/lib" \
--prefix=/opt/bacula \
--datarootdir=/opt/bacula/share \
--mandir=/opt/bacula/man \
--with-archivedir=/opt/bacula/archive \
--with-working-dir=/opt/bacula/working \
--with-plugindir=/opt/bacula/plugins \
--with-scriptdir=/opt/bacula/scripts \
--with-subsys-dir=/opt/bacula/subsys \
--with-mysql=/opt/webstack/mysql \
--with-dir-password=password \
--with-fd-password=password \
--with-sd-password=password \
--with-dir-user=bacula \
--with-dir-group=backup \
--with-sd-user=bacula \
--with-sd-group=backup \
--with-fd-user=root \
--with-fd-group=backup \
--enable-smartalloc \
--enable-batch-insert \
--with-dump-email=someone < at > example.com \
--with-job-email=someone < at > example.com \
--with-smtp-host=mail \
--enable-bat \
--with-qwt=$HOME/src/bacula/depkgs-qt \
--enable-gnome

exit 0

Then build "bat" and just add it to the menu.

Cheers,
Gary B-)



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB