Re: [SLUG] Debian - what is needed to compile?

2003-08-14 Thread Peter Chubb
 Chris == Chris Barnes [EMAIL PROTECTED] writes:

Chris Hi Peter, Thanks for the help, but unfortunatly its not just
Chris Apache which I wish to install, and I dont want to install all
Chris my software from packages, I was planning on compiling some of
Chris them my self so I can get the versions of the software which I
Chris need, like apache, squid, bind, etc.

Chris All I really need to install from a package is the development
Chris environment.

The problem is that the `development environment' that you need
depends on the thing you're trying to install.

apt-get build-dep package

will just install the things you need to compile `package', but not the
package itself.  That includes the C compiler, libraries,
configuration tools, etc., etc.

So if you want to build squid, say, do
   apt-get build-dep squid
to get all the shared libraries that you need, an appropriate version
of the C compiler, etc., etc.

--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
You are lost in a maze of BitKeeper repositories,   all slightly different.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Debian - what is needed to compile?

2003-08-14 Thread Steve Kowalik
At  8:04 pm, Wednesday, August  6 2003, Matthew Palmer mumbled:
 If you want official (real, true official) Debian CDs, I'm sure there'd be
 no shortage of SLUGgers who'd burn them for you.  I'd offer, but I'm not
 exactly in the area...
 
I'm in the area (live in western Sydney, work in inner western Sydney), and
am quite happy to burn Debian CDs for anyone who wants them.

Cheers,
-- 
   Steve
ignorami: n: The BOFH art of folding problem lusers into representational
shapes.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Debian - what is needed to compile?

2003-08-14 Thread Crossfire
Chris Barnes was once rumoured to have said:
 Hi sluggers,
 I have recently installed Debian 3.0r1.
 I'm fairly new to debian, but I thought I was going ok until i tried to
 compile something.
 
 When I installed Debian it was a base install, nothing else. So I dont have
 compilers or linkers installed. I've tried installing gcc-3.0 (apt-get
 install gcc-3.0) and then compiling apache-1.3.28 but ./configure for apache
 keeps telling me that it requires an ANSI C Compiler, and somewhere in the
 ./configure output it mentions that CPP is Not Available, but under /usr/bin
 i found cpp-3.0 and i've symbolically linked cpp to it in /usr/bin

you probably don't want gcc-3.0 actually...

if you use:

apt-get install binutils gcc cpp make libc6-dev

that should install gcc 2.95 which is sufficent for compiling most of what
you'll want.  If you really want a gcc-3.x compiler, you might want to 
consider running testing instead of stable.  testing has gcc-3.2 and 3.3 IIRC.

C.
-- 
--==--
  Crossfire  | This email was brought to you
  [EMAIL PROTECTED] | on 100% Recycled Electrons
--==--
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Debian - what is needed to compile?

2003-08-14 Thread Chris Barnes
Hi sluggers,
I have recently installed Debian 3.0r1.
I'm fairly new to debian, but I thought I was going ok until i tried to
compile something.

When I installed Debian it was a base install, nothing else. So I dont have
compilers or linkers installed. I've tried installing gcc-3.0 (apt-get
install gcc-3.0) and then compiling apache-1.3.28 but ./configure for apache
keeps telling me that it requires an ANSI C Compiler, and somewhere in the
./configure output it mentions that CPP is Not Available, but under /usr/bin
i found cpp-3.0 and i've symbolically linked cpp to it in /usr/bin

I also tried to compile OpenSSH-3.6.1p1 but it tells me my compiler cant
make executables or its broken.

So my question is, what are the packages i need to install to be able to
compile stuff?

Thanks for your help in advance.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Debian - what is needed to compile?

2003-08-14 Thread Chris Barnes
Yep I got the Debian 3.0r1 discs from the front of APC Magazine...which is
where I pick up alot of my other disctibutions from.

See I dont normally use Debian, but I thought it was time for a change and
Debian just happened to be on the magazine.

I've configured the apt sources to get from disc 1, 2 and from the Aarnet
mirror, so you think i should scratch disc 2 from the sources list?

I'd do a net install or download the iso's from a debian mirror but i pay
for broadband through the nose.

Thanks heaps for all your help and patience.


 You wouldn't happen to be using the CD set that came with APC (I think it
was)
 or some other computing magazine recently?  I discovered all sorts of
 dependancy problems with that CD set in particular which don't occur with
the
 Standard CD images.

 If you're using a CD-set build from original debian ISOs or built
 using jigdo, you should be fine however.

 If you are using that magazine's set, only use CD1, and you might be OK.
I
 didn't really look very deep into it once I managed to install my friend's
 machine.

 I personally use net installs or the standard CDs.

 C.
 --
 --==--
   Crossfire  | This email was brought to you
   [EMAIL PROTECTED] | on 100% Recycled Electrons
 --==--



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Debian - what is needed to compile?

2003-08-14 Thread Bret Comstock Waldow
On Tue, 2003-08-05 at 16:17, Chris Barnes wrote:
  Hi sluggers,
 I have recently installed Debian 3.0r1.

 I also tried to compile OpenSSH-3.6.1p1 but it tells me my compiler cant
 make executables or its broken.
 
 So my question is, what are the packages i need to install to be able to
 compile stuff?

There may be better ways, but one possibility is to run 'tasksel', and
choose the entry about 'C' development.

Cheers,
Bret

-- 
bwaldow at alum dot mit dot edu

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Debian - what is needed to compile?

2003-08-11 Thread Chris Barnes
Now i'm starting to wander if this is a really crap release of Debian.
I am getting E: Sorry, broken packages errors all other the place, no
matter what I try to do!

I did what Crossfire suggested:
apt-get install binutils gcc cpp make libc6-dev

but now i get this:
Sorry, but the following packages have unmet dependencies:
libc6-dev: Depends: libc6 (= 2.2.5-11.5) but 2.3.1-17 is to be installed
E: Sorry, broken packages

i tried:
apt-get install libc6

but it told me the latest version of libc6 is already installed.

is this a bad release of Debian to be starting on??

- Original Message -
From: Crossfire [EMAIL PROTECTED]
To: Chris Barnes [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 2:29 PM
Subject: Re: [SLUG] Debian - what is needed to compile?


 you probably don't want gcc-3.0 actually...

 if you use:

 apt-get install binutils gcc cpp make libc6-dev

 that should install gcc 2.95 which is sufficent for compiling most of what
 you'll want.  If you really want a gcc-3.x compiler, you might want to
 consider running testing instead of stable.  testing has gcc-3.2 and 3.3
IIRC.

 C.
 --
 --==--
   Crossfire  | This email was brought to you
   [EMAIL PROTECTED] | on 100% Recycled Electrons
 --==--



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Debian - what is needed to compile?

2003-08-09 Thread Matthew Palmer
On Wed, Aug 06, 2003 at 06:44:30PM +1000, Chris Barnes wrote:
 Yep I got the Debian 3.0r1 discs from the front of APC Magazine...which is
 where I pick up alot of my other disctibutions from.

It doesn't sound like they're official 3.0r1 disks, if they've got glibc
2.3.1.  Hmm... yep, 2.2.5-11.2 is the latest in 3.0.

This isn't the first time APC have fscked it up, IIRC.  Or I may just be
remembering early reports of this same problem.

If you want official (real, true official) Debian CDs, I'm sure there'd be
no shortage of SLUGgers who'd burn them for you.  I'd offer, but I'm not
exactly in the area...

- Matt
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Debian - what is needed to compile?

2003-08-09 Thread Chris Barnes
Hi Peter,
Thanks for the help, but unfortunatly its not just Apache which I wish to
install, and I dont want to install all my software from packages, I was
planning on compiling some of them my self so I can get the versions of the
software which I need, like apache, squid, bind, etc.

All I really need to install from a package is the development environment.

- Original Message -
From: Peter Chubb [EMAIL PROTECTED]
To: Chris Barnes [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 9:43 AM
Subject: [SLUG] Debian - what is needed to compile?


  Chris == Chris Barnes [EMAIL PROTECTED] writes:

 Chris Hi sluggers, I have recently installed Debian 3.0r1.  I'm
 Chris fairly new to debian, but I thought I was going ok until i
 Chris tried to compile something.

 Get apt to install all the build prerequsistes for something simple.

 apt-get build-dep apache

 should get all you need to compile apache, for example.

 Peter C



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Debian - what is needed to compile?

2003-08-07 Thread Peter Chubb
 Chris == Chris Barnes [EMAIL PROTECTED] writes:

Chris Hi sluggers, I have recently installed Debian 3.0r1.  I'm
Chris fairly new to debian, but I thought I was going ok until i
Chris tried to compile something.

Get apt to install all the build prerequsistes for something simple.

apt-get build-dep apache

should get all you need to compile apache, for example.

Peter C
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Debian - what is needed to compile?

2003-08-06 Thread Crossfire
Chris Barnes was once rumoured to have said:
 Now i'm starting to wander if this is a really crap release of Debian.
 I am getting E: Sorry, broken packages errors all other the place, no
 matter what I try to do!
 
 I did what Crossfire suggested:
 apt-get install binutils gcc cpp make libc6-dev
 
 but now i get this:
 Sorry, but the following packages have unmet dependencies:
 libc6-dev: Depends: libc6 (= 2.2.5-11.5) but 2.3.1-17 is to be installed
 E: Sorry, broken packages

You wouldn't happen to be using the CD set that came with APC (I think it was)
or some other computing magazine recently?  I discovered all sorts of 
dependancy problems with that CD set in particular which don't occur with the 
Standard CD images.

If you're using a CD-set build from original debian ISOs or built
using jigdo, you should be fine however.

If you are using that magazine's set, only use CD1, and you might be OK.  I
didn't really look very deep into it once I managed to install my friend's
machine.

I personally use net installs or the standard CDs.

C.
-- 
--==--
  Crossfire  | This email was brought to you
  [EMAIL PROTECTED] | on 100% Recycled Electrons
--==--
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug