Stephen:

2008/6/4 Stephen Gran <[EMAIL PROTECTED]>:
> On Wed, Jun 04, 2008 at 02:47:04PM -0300, Luis Hernán Otegui said:
>> Stephen:
>>
>> 2008/6/4 Stephen Gran <[EMAIL PROTECTED]>:
>> > On Wed, Jun 04, 2008 at 02:02:53PM -0300, Luis Hernán Otegui said:
>> >> Török
>> >>
>> >> 2008/6/4 Török Edwin <[EMAIL PROTECTED]>:
>> >> > Luis Hernán Otegui wrote:
>> >> >> Hi, I'm trying to compile from source clamav 0.93 over an old Debian
>> >> >>
>> >> >
>> >> > Did 0.92 compile on your machine?
>> >>
>> >> Well, I wasn't compiling strictly speaking, I was making new clamav
>> >> packages from source, according to the Debian recipe.
>> >> I don't know if this makes any difference for you.
>> >>
>> >> I ran
>> >>
>> >> # dh_make -e [EMAIL PROTECTED] -c GPL -f ../clamav_0.93~dfsg.orig.tar.gz
>> >> # dpkg-buildpackage -rfakeroot
>> >
>> > Why not just try rebuilding the debian package on sarge?  It needs a few
>> > modifications, but not a huge number.
>>
>> Could you give me some more info on how to do this? I've been trying
>> to do it, but without success, that's why I ended up like this...
>
> There's a few things that will need doing:
>
> echo 4 > debian/compat
> edit debian/control:
>  remove versioned Build-Dependencies for dpkg-dev and debhelper
>  change all instances of ${Source:Version} and ${Binary:Version} to
>    ${Source-Version}
>
> Run debuild.
>
> You'll get some warnings about failures to parse translations files, and
> the -dbg package will probably be useless, but you should get the other
> debs working just fine.  I don't think the maintainer scripts will need
> any fiddling.

Well, it all worked up pretty well, untill I got this:

/usr/lib/libc_nonshared.a(atexit.oS)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):
In function `__i686.get_pc_thunk.bx':
: multiple definition of `__i686.get_pc_thunk.bx'
/usr/lib/gcc-lib/i486-linux/3.3.5/crtbeginS.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):
first defined here
collect2: ld returned 1 exit status
make[4]: *** [libclamav.la] Error 1
make[4]: se sale del directorio
`/usr/src/clamav/src/clamav-0.93~dfsg-2/libclamav'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio
`/usr/src/clamav/src/clamav-0.93~dfsg-2/libclamav'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/usr/src/clamav/src/clamav-0.93~dfsg-2'
make[1]: *** [all] Error 2
make[1]: se sale del directorio `/usr/src/clamav/src/clamav-0.93~dfsg-2'
make: *** [build-arch-stamp] Error 2
debuild: fatal error at line 765:
dpkg-buildpackage failed!

Any ideas?

> --
>  --------------------------------------------------------------------------
> |  Stephen Gran                  | lp1 on fire (One of the more obfuscated |
> |  [EMAIL PROTECTED]             | kernel messages)                        |
> |  http://www.lobefin.net/~steve |                                         |
>  --------------------------------------------------------------------------
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFIRtn7SYIMHOpZA44RArXpAKCTAsr7v5ogabFoZgRMo9jYmoZXhACgpEZR
> uMprj8rPYfvhY7DqYvV6i7s=
> =ibkn
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>
>


Luis
-- 
_____________________________________

GNU/GPL: "May The Source Be With You...

 Linux Registered User #448382.
_____________________________________
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to