cannot install on Solaris

Axel Simon <[email protected]>
Newsgroups gmane.comp.web.cthumb.general
Message-ID <[email protected]>
Hi,

I tried to install cthumb 4.1 form the tar ball. I extracted the perl 
tarball into an appropriate location (which would have been easier if 
there were no "perl-modules" prefix to all paths) and tried to do make 
install. I get:

as49@myrtle:~/source/cthumb-4.1:588$ gmake install
install -d /home/cur/as49/local/bin /home/cur/as49/local/share 
/home/cur/as49/local/share/images/cthumb /home/cur/as49/local/man/man1
usage: install [-cs] [-g group] [-m mode] [-o owner] file ...  destination
       install  -d   [-g group] [-m mode] [-o owner] dir
gmake: *** [install] Error 1

I found another version of install:

as49@myrtle:~/source/cthumb-4.1:593$ PATH=/usr/sbin:$PATH gmake install
install -d /home/cur/as49/local/bin /home/cur/as49/local/share 
/home/cur/as49/local/share/images/cthumb /home/cur/as49/local/man/man1
install -m555 cthumb /home/cur/as49/local/bin
find: cannot follow symbolic link /bin/oldjava: No such file or directory
find: cannot follow symbolic link /bin/javald: No such file or directory
find: cannot follow symbolic link /usr/bin/oldjava: No such file or 
directory
find: cannot follow symbolic link /usr/bin/javald: No such file or 
directory
...

and so on. So I saw that you included an install program in you 
distribution called install-sh. I had to rename it since you don't use a 
variable in your Makefile:

as49@myrtle:~/source/cthumb-4.1:586$ mv install-sh install    
as49@myrtle:~/source/cthumb-4.1:587$ PATH=.:$PATH make install
install -d /home/cur/as49/local/bin /home/cur/as49/local/share 
/home/cur/as49/local/share/images/cthumb /home/cur/as49/local/man/man1
install -m555 cthumb /home/cur/as49/local/bin
install:  -m555 does not exist
*** Error code 1
make: Fatal error: Command failed for target `install'

So even that does not work. Actually I think the arguments are the wrong 
way round: First the directory, then all the files you want to install.

Can you explain this to me?

Thanks,
Axel.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.