Apt-Build doesn't work
Dario Meloni
mellon85 at gmail.com
Fri Jan 20 19:14:41 UTC 2006
the command was
apt-build install ssh
is just for the example it doesn't work for anything.
the output is this [I am using gcc 4]
-----> Installing build dependencies (for openssh) <-----
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-----> Updating package lists <-----
...
-----> Downloading source openssh (1:4.1p1-7ubuntu4) <-----
...
-----> Building openssh <-----
dpkg-buildpackage: source package is openssh
dpkg-buildpackage: source version is 1:4.1p1-7ubuntu4
dpkg-buildpackage: source changed by root <root at baudelaire.org>
dpkg-buildpackage: host architecture i386
debian/rules clean
dh_testdir
rm -f build-deb-stamp build-udeb-stamp
rm -rf build-deb build-udeb
/usr/bin/make -C contrib clean
make[1]: Entering directory `/var/cache/apt-build/build/openssh-4.1p1/contrib'
rm -f *.o gnome-ssh-askpass1 gnome-ssh-askpass2 gnome-ssh-askpass
make[1]: Leaving directory `/var/cache/apt-build/build/openssh-4.1p1/contrib'
rm -f config.log
# Hack for woody compatibility. This makes sure that the
# debian/templates file shipped in the source package doesn't
# specify encodings, which woody's debconf can't handle. If building
# on a system with po-debconf installed (conveniently debhelper (>=
# 4.1.16) depends on it), the binary-arch target will generate a
# better version for sarge.
echo '1 popular' > debian/po/output
po2debconf debian/openssh-server.templates.master >
debian/openssh-server.templates
Warning: Unknown default encoding for vi, get it from debian/po/vi.po: utf-8
rm -f debian/po/output
rm -f debian/ssh-askpass-gnome.png
dh_clean
debian/rules build
dh_testdir
mkdir -p build-deb
cd build-deb && ../configure --prefix=/usr --sysconfdir=/etc/ssh
--libexecdir=/usr/lib/openssh --mandir=/usr/share/man
--with-tcp-wrappers --with-xauth=/usr/bin/xauth
--with-default-path=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/games
--with-superuser-path=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
--with-pam --with-4in6 --with-privsep-path=/var/run/sshd
--without-rand-helper --with-libedit --with-selinux
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
make: *** [build-deb-stamp] Error 77
----> Cleaning up object files <-----
Cleaning in directory .
dh_testdir
rm -f build-deb-stamp build-udeb-stamp
rm -rf build-deb build-udeb
/usr/bin/make -C contrib clean
make[1]: Entering directory `/var/cache/apt-build/build/openssh-4.1p1/contrib'
rm -f *.o gnome-ssh-askpass1 gnome-ssh-askpass2 gnome-ssh-askpass
make[1]: Leaving directory `/var/cache/apt-build/build/openssh-4.1p1/contrib'
rm -f config.log
# Hack for woody compatibility. This makes sure that the
# debian/templates file shipped in the source package doesn't
# specify encodings, which woody's debconf can't handle. If building
# on a system with po-debconf installed (conveniently debhelper (>=
# 4.1.16) depends on it), the binary-arch target will generate a
# better version for sarge.
echo '1 popular' > debian/po/output
po2debconf debian/openssh-server.templates.master >
debian/openssh-server.templates
Warning: Unknown default encoding for vi, get it from debian/po/vi.po: utf-8
rm -f debian/po/output
rm -f debian/ssh-askpass-gnome.png
dh_clean
Error while building ssh!
Sorry, no package to install.
On Fri, 20 Jan 2006, Dario Meloni wrote:
> On Fri, 20 Jan 2006, Dario Meloni wrote:
>>> at every build the autoconf fails returning that the compiler can't
>>>> create executables... what should I do?
>>>> sudo apt-get install build-essential
>>> sudo apt-get build-dep apt-build
>>> Yes, both!
>>
> What's the exact command you run and what's the exact error message that it
> prints?
>
> -Paul
>
--
Dario Meloni
More information about the ubuntu-users
mailing list