Click to See Complete Forum and Search --> : How to use "make install" correctly? Trying to install zlib


Giscardo
08-01-2001, 04:59 AM
I'm trying to install zlib libraries under a bare install of mandrake 8.0 (i only installed development options, and networking ability), and I'm using bash. Decompressed the tarball, and i ran ./configure --shared --prefix=/usr. I also did "export CFLAGS='-march=athlon -03'". When I do "make test" everything checks out ok, but when i do "make install" i get the following messages:

install -m 644 zlib.h zconf.h /usr/include
install -m 755 /usr/lib
install: too few arguments 'install --help' for more info.
make: *** [install] Error 1

I tried typing install --help, but it isn't very usefull. I can't figure out how to fix this. Can anyone help please?

slayer17
08-01-2001, 02:41 PM
check your to see if /usr/lib is in your path.

Zeddicus
08-01-2001, 02:48 PM
./configure
make
make install

perhaps you forgot make?

Giscardo
08-01-2001, 03:16 PM
how do i check if /usr/lib is in my path?

TacKat
08-01-2001, 03:19 PM
echo $PATH

Giscardo
08-01-2001, 04:25 PM
And if it's not there, how do I add it? Please be more thorough in your answers...

bdg1983
08-01-2001, 04:51 PM
We sometimes assume some know enough to add a directory to $PATH. If we explained everything in detail, each thread would be pages long.

The NHF http://www.linuxnewbie.org/nhf/intel/shells/bashconfig.html will tell you what needs to be done.

pwrhouse
08-01-2001, 05:07 PM
You usually need to be root(almost always) while doing a make install. Were you root?

Giscardo
08-01-2001, 06:14 PM
Yes i was root.