Re: Compiling hdup-2.0.0

Miek Gieben <[email protected]> Thu, 11 Nov 2004 15:49:35 +0100
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <[email protected]>
thanks for the feedback!

[On 11 Nov, @ 14:47, Boris wrote in "[hdup-user] Compiling hdup-2.0 ..."]
> I'm trying to build hdup on my new system, which is running the 64-bit
> version of Fedora Core 3.
> 
> The good news: 1.6.37 compiles perfectly on this system, and some quick
> tests worked.  I did not really give it a thorough workout though since
> I wanted to try 2.0.0.
> 
> During configure of 2.0.0 I get the following warning, which isn't
> exactly as clear as a cloudless day, but from looking at the configure
> script looks like a - got substututed for a _ somewhere:
> 
> checking for main in -lglib-2... no
> ./configure: line 3690: ac_cv_lib_glib-2=ac_cv_lib_glib-2_main: command
> not found

I found this macro somewhere the net, it should test the presence of 
glib2.0, but somehow this error pops up. This will ofcourse be fixed
in the final 2.0.0 or 2.0.1

> For the compile, after figuring out that I needed the glib2-devel
> package, it went smoothly.

hopefully the above macro will tell you to install that package, once
I have it working. :-)

> The RPM spec file needed a little revision before it would work; I'm not
> sure how permanent the changes are so I won't send a patch right now,
> but some of the documentation files from the 1.6 version are gone and
> some new ones have showed up.  Also the RPM needs to be updated to
> reflect the new naming of the directory "hdup2".

If you have patches ready, I will be glad to incorperate them,

grtz Miek