Excuse me,
but why don't you just get  
bacula-postgresql-1.38.11-3.el3.i386.rpm from Bacula's
SF page? I downloaded the mysql package and everything
worked out of the box, I think the PG one will work
fine, too. Regards,

Georger

--- Mathew Brown <[EMAIL PROTECTED]> escreveu:

> Hi,
>   I'm currently trying to compile the latest version
> of Bacula using the
>   src rpm on RHEL.  I downloaded the
> bacula-1.38.11-3.src.rpm package,
>   rpm -ivh'ed it and then entered
> /usr/src/redhat/SPECS (I have
>   installed the latest version of PostgreSQL - 8.1.4
> - as well as it's
>   devel libraries).  I then run the following
> command:
> 
> rpmbuild -ba --define "build_rhel4 1" --define
> "build_postgresql 1"
> bacula.spec
> 
> It starts compiling and successfully completes the
> documentation part as
> well as the rescue part.  But then, things take a
> turn.  I then notice
> the compilation using up more than 1 GB worth of RAM
> and then starting
> to use up my swap space (another 1 GB).
> 
> I'm suspicious because there are tons of compilation
> processes when I
> run something like.  Here's an example of output of
> ps -auxwww:
> 
> root      3111  0.0  0.0  7916  644 pts/0    S+  
> 21:25   0:00 rpmbuild
> -ba --define build_rhel4 1 --define build_postgresql
> 1 bacula.spec
> root      3145  0.0  0.0     0    0 ?        S   
> 21:25   0:01 [pdflush]
> root      3153  0.0  0.0  4996  788 pts/0    S+  
> 21:25   0:00 /bin/sh
> -e /var/tmp/rpm-tmp.86783
> root      4067  0.1  0.0  3540  960 pts/0    S+  
> 21:25   0:07 /bin/sh
> ./configure --build=i686-redhat-linux-gnu
> --host=i686-redhat-linux-gnu
> --target=i386-redhat-linux-gnu --program-prefix=
> --prefix=/usr
> --exec-prefix=/usr --bindir=/usr/bin
> --sbindir=/usr/sbin
> --sysconfdir=/etc --datadir=/usr/share
> --includedir=/usr/include
> --libdir=/usr/lib --libexecdir=/usr/libexec
> --localstatedir=/var
> --sharedstatedir=/usr/com --mandir=/usr/share/man
> --infodir=/usr/share/info --prefix=/usr
> --sbindir=/usr/sbin
> --sysconfdir=/etc/bacula
> --with-scriptdir=/etc/bacula
> --enable-smartalloc --enable-client-only
> --enable-static-fd
> root      9248  0.0  0.0  3556  960 pts/0    S+  
> 21:26   0:01 /bin/sh
> ./config.status
> root     12401  0.0  0.0  3556  964 pts/0    S+  
> 21:26   0:00 /bin/sh
> ./config.status
> root     12402  0.0  0.0  2064  564 pts/0    S+  
> 21:26   0:00 make
> depend
> root     12403  0.0  0.0  3056  744 pts/0    S+  
> 21:26   0:00 /bin/sh
> -c cd .  && CONFIG_FILES=./Makefile CONFIG_HEADERS=
> /bin/sh
> ./config.status
> root     12404  0.0  0.0  2812  952 pts/0    S+  
> 21:26   0:00 /bin/sh
> ./config.status
> root     12549  0.0  0.0  2812  956 pts/0    S+  
> 21:26   0:00 /bin/sh
> ./config.status
> 
> followed by dozens if not hundreds of entries such
> as:
> 
> root     12402  0.0  0.0  2064  564 pts/0    S+  
> 21:26   0:00 make
> depend
> root     12403  0.0  0.0  3056  744 pts/0    S+  
> 21:26   0:00 /bin/sh
> -c cd .  && CONFIG_FILES=./Makefile CONFIG_HEADERS=
> /bin/sh
> ./config.status
> root     12404  0.0  0.0  2812  952 pts/0    S+  
> 21:26   0:00 /bin/sh
> ./config.status
> root     12549  0.0  0.0  2812  956 pts/0    S+  
> 21:26   0:00 /bin/sh
> ./config.status
> 
> The compilation itself outputs:
> 
> ...
> Doing make of dependencies
> make[2087]: Entering directory
> `/usr/src/redhat/BUILD/bacula-1.38.11'
> make[2087]: Warning: File `Makefile.in' has
> modification time 3.4e+06 s
> in the future
> cd . \
>     && CONFIG_FILES=./Makefile CONFIG_HEADERS=
> /bin/sh ./config.status
> config.status: creating ./Makefile
> config.status: executing default-1 commands
> config.status: executing default commands
> Doing make of dependencies
> make[2088]: Entering directory
> `/usr/src/redhat/BUILD/bacula-1.38.11'
> make[2088]: Warning: File `Makefile.in' has
> modification time 3.4e+06 s
> in the future
> cd . \
>     && CONFIG_FILES=./Makefile CONFIG_HEADERS=
> /bin/sh ./config.status
> config.status: creating ./Makefile
> config.status: executing default-1 commands
> config.status: executing default commands
> Doing make of dependencies
> make[2089]: Entering directory
> `/usr/src/redhat/BUILD/bacula-1.38.11'
> make[2089]: Warning: File `Makefile.in' has
> modification time 3.4e+06 s
> in the future
> cd . \
>     && CONFIG_FILES=./Makefile CONFIG_HEADERS=
> /bin/sh ./config.status
> ...
> 
> and keeps increasing (notice that it's at 2089)
> until the machine runs
> out of RAM and swap.  It then starts killing
> processes and fails.
> 
> Any ideas?  Is this a bug?  Has anyone successfully
> compiled the latest
> version using the src rpm?  Thanks for your help.
> 
> PS.  It's not a question of running out of hard disk
> space since I have
> about 150 - 200 MB left at the point at which it
> runs out of RAM and
> swap.
> -- 
>   Mathew Brown
>   [EMAIL PROTECTED]


        



        
                
_______________________________________________________ 
VocĂȘ quer respostas para suas perguntas? Ou vocĂȘ sabe muito e quer compartilhar 
seu conhecimento? Experimente o Yahoo! Respostas !
http://br.answers.yahoo.com/


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to