Mailing List Archive

Compilation problem
Hi



I want to compile drdb-8.3:



[root@noc-1-synt drbd-8.3]# ./configure --enable-spec --with-km

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking whether ln -s works... yes

checking for sed... /bin/sed

checking for grep... /bin/grep

checking for flex... /usr/bin/flex

checking for rpmbuild... /usr/bin/rpmbuild

checking for xsltproc... /usr/bin/xsltproc

checking for tar... /bin/tar

checking for git... /usr/bin/git

checking for dpkg-buildpackage... no

checking for udevadm... /sbin/udevadm

checking for udevinfo... false

configure: WARNING: No dpkg-buildpackage found, building Debian packages is
disabled.

checking for /etc/gentoo-release... no

checking for /etc/redhat-release... yes

checking for /etc/slackware-version... no

checking for /etc/debian_version... no

checking for /etc/SuSE-release... no

configure: configured for Red Hat (includes Fedora, RHEL, CentOS).

checking for /etc/fedora-release... no

configure: creating ./config.status

config.status: creating drbd.spec

config.status: creating drbd-km.spec

config.status: creating drbd-kernel.spec





fail:

[root@noc-1-synt drbd-8.3]# make tgz

checking for presence of 8\.3\.12 in various changelog files

make -C drbd drbd_buildtag.c

make[1]: Entering directory `/root/drbd-8.3/drbd'

make[1]: Leaving directory `/root/drbd-8.3/drbd'

make -C documentation doc

make[1]: Entering directory `/root/drbd-8.3/documentation'

make[1]: Nothing to be done for `doc'.

make[1]: Leaving directory `/root/drbd-8.3/documentation'

test -e .filelist

make: *** [tgz] Error 1

[root@noc-1-synt drbd-8.3]#





Error:

test -e .filelist

make: *** [tgz] Error 1



How do I fix this?



[root@noc-1-synt drbd-8.3]# uname -r

2.6.38.8

[root@noc-1-synt drbd-8.3]# cat /etc/redhat-release

Scientific Linux release 6.2 (Carbon)
Re: Compilation problem [ In reply to ]
If you're installing it, why don't you install the latest version (8.4)?

--Marcelo

On Mar 14, 2012, at 7:07 AM, "??????" <zorro@megatrone.ru> wrote:

> Hi
>
> I want to compile drdb-8.3:
>
> [root@noc-1-synt drbd-8.3]# ./configure --enable-spec --with-km
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking whether ln -s works... yes
> checking for sed... /bin/sed
> checking for grep... /bin/grep
> checking for flex... /usr/bin/flex
> checking for rpmbuild... /usr/bin/rpmbuild
> checking for xsltproc... /usr/bin/xsltproc
> checking for tar... /bin/tar
> checking for git... /usr/bin/git
> checking for dpkg-buildpackage... no
> checking for udevadm... /sbin/udevadm
> checking for udevinfo... false
> configure: WARNING: No dpkg-buildpackage found, building Debian packages is disabled.
> checking for /etc/gentoo-release... no
> checking for /etc/redhat-release... yes
> checking for /etc/slackware-version... no
> checking for /etc/debian_version... no
> checking for /etc/SuSE-release... no
> configure: configured for Red Hat (includes Fedora, RHEL, CentOS).
> checking for /etc/fedora-release... no
> configure: creating ./config.status
> config.status: creating drbd.spec
> config.status: creating drbd-km.spec
> config.status: creating drbd-kernel.spec
>
>
> fail:
> [root@noc-1-synt drbd-8.3]# make tgz
> checking for presence of 8\.3\.12 in various changelog files
> make -C drbd drbd_buildtag.c
> make[1]: Entering directory `/root/drbd-8.3/drbd'
> make[1]: Leaving directory `/root/drbd-8.3/drbd'
> make -C documentation doc
> make[1]: Entering directory `/root/drbd-8.3/documentation'
> make[1]: Nothing to be done for `doc'.
> make[1]: Leaving directory `/root/drbd-8.3/documentation'
> test -e .filelist
> make: *** [tgz] Error 1
> [root@noc-1-synt drbd-8.3]#
>
>
> Error:
> test -e .filelist
> make: *** [tgz] Error 1
>
> How do I fix this?
>
> [root@noc-1-synt drbd-8.3]# uname -r
> 2.6.38.8
> [root@noc-1-synt drbd-8.3]# cat /etc/redhat-release
> Scientific Linux release 6.2 (Carbon)
>
>
>
> _______________________________________________
> drbd-user mailing list
> drbd-user@lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
Re: Compilation problem [ In reply to ]
On 03/14/2012 11:10 AM, Marcelo Pereira wrote:
> If you're installing it, why don't you install the latest version (8.4)?
>
> --Marcelo

For production systems, I'd recommend staying with 8.3.12, as it is much
better tested. 8.4 series is very promising, but it's still young. I'd
recommend using it in test environments and non-critical applications.

--
Alteeve's Niche!
Madison Kelly 647-501-5200
Papers and Projects: https://alteeve.com
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user