[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: private LAN ldap (was Re: Bookmarks across browsers)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/04/07 10:43, Jan Sneep wrote:
> This is really a very basic question and perhaps should be a new thread but
> the list serve still won't let me create new threads for some reason !!!
> 
> I found openldap.org and have been attempting to install it.  Part of the
> process is to run a script called "configue" that will check if the various
> things that are needed for the install are in place. The output is as
> follows:
> 
> debian:/etc/openldap/openldap-2.3.35# ./configure
> Configuring OpenLDAP 2.3.35-Release ...
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking configure arguments... done
> checking for cc... no
> checking for gcc... no
> configure: error: Unable to locate cc(1) or suitable replacement.  Check
> PATH or  set CC.
> 
> I think I have fugured out that CC1 is located in the
> /usr/lib/gcc/i486-linux-gnu/4.1.2 folder and I have added that folder to the
> environment variable PATH so now
> 
> PATH=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin:/
> usr/bin/X11:/usr/games:/usr/lib/gcc/i486-linux-gnu/4.1.2
> 
> But configure still can't find it ... so I need to "Set CC" as an
> environment variable.
> 
> CC=/usr/lib/gcc/i486-linux-gnu/4.1.2/cc1
> 
> But that didn't work nor did CC show up when I did a "printenv" either.
> 
> So how does one create an environment variable in Linux, or Debian or Etch?

Bigger question: why are you building it from scratch?

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGO1tTS9HxQb37XmcRAuWKAJ9V2jJ1AfzYZYWXBEbG/Di7k3lZnACdGiQv
ZCOUHqTTEOd6+iFvZsPPZi0=
=6n91
-----END PGP SIGNATURE-----



Reply to: