Apt-Build doesn't work

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Apt-Build doesn't work

Dario Meloni
Hi all.
I Read somewhere about apt-build and then i tried it.
I can't get it working at all even just out of the box, at every build
the autoconf fails returning that the compiler can't create
executables... what should I do?

--

Dario Meloni



--
ubuntu-users mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Apt-Build doesn't work

Paul Sladen-2
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?

Do you have:

  sudo apt-get install build-essential
  sudo apt-get build-dep apt-build

installed?

        -Paul
--
This country is covered in white fluffy snow.  Helsinki, FI


--
ubuntu-users mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Apt-Build doesn't work

Dario Meloni
Yes, both!

> 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?
>
> Do you have:
>
>   sudo apt-get install build-essential
>   sudo apt-get build-dep apt-build
>
> installed?
>
> -Paul


--

Dario Meloni



--
ubuntu-users mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Apt-Build doesn't work

Paul Sladen-2
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
--
This country is covered in white fluffy snow.  Helsinki, FI


--
ubuntu-users mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Apt-Build doesn't work

Dario Meloni
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 <[hidden email]>
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



--
ubuntu-users mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Apt-Build doesn't work

Alexander Jacob Tsykin
In reply to this post by Dario Meloni
Dario Meloni wrote:

> Hi all.
> I Read somewhere about apt-build and then i tried it.
> I can't get it working at all even just out of the box, at every build
> the autoconf fails returning that the compiler can't create
> executables... what should I do?
>
Install build-essential and gcc-3.4

--
ubuntu-users mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Apt-Build doesn't work

Dario Meloni
On 2006-01-21 12:06:58 +0100, Sasha Tsykin <[hidden email]> said:

> Dario Meloni wrote:
>
>> Hi all.
>> I Read somewhere about apt-build and then i tried it.
>> I can't get it working at all even just out of the box, at every build
>> the autoconf fails returning that the compiler can't create
>> executables... what should I do?
>>
> Install build-essential and gcc-3.4

They are already there, i needed to use gcc4.0 but i have switch ed
back to 3.4 but nothings changes
--

Dario Meloni



--
ubuntu-users mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Apt-Build doesn't work

Dario Meloni
In reply to this post by Dario Meloni
"Solved"
Installing the latest version downloaded by source from the debian repository


--

Dario Meloni



--
ubuntu-users mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users