[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make fails many times
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: make fails many times
- From: Yutaka KAWASE <yutaka_(_at_)_mailhost_(_dot_)_net>
- Date: Mon, 02 Oct 2000 02:35:53 +0900
Hi all,
I'm not quite familier with OpenBSD and its ports collection.
I use cron job to update my source code and ports tree like this.
yk_(_at_)_obsd:~$ sudo cat /root/cronjob/checkout_ports.sh
#!/bin/sh
export CVS_RSH="/usr/bin/ssh"
export CVSROOT="anoncvs_(_at_)_anoncvs_(_dot_)_usa_(_dot_)_openbsd_(_dot_)_org:/cvs"
cd /usr
/usr/bin/cvs checkout -P ports
yk_(_at_)_obsd:~$ sudo cat /root/cronjob/checkout_src.sh
#!/bin/sh
export CVS_RSH="/usr/bin/ssh"
export CVSROOT="anoncvs_(_at_)_anoncvs_(_dot_)_usa_(_dot_)_openbsd_(_dot_)_org:/cvs"
cd /usr
/usr/bin/cvs checkout -P src
yk_(_at_)_obsd:~$
Now my problem is there are some ports that I cant install.
Here is one example.
yk_(_at_)_obsd:/usr/ports/graphics/gif2png$ sudo make install
===> Faking installation for gif2png-2.3.3
/bin/sh ./mkinstalldirs /usr/local/bin
install -c -s -o root -g bin -m 555 gif2png /usr/local/bin/gif2png
/bin/sh ./mkinstalldirs /usr/local/bin
install -c -o root -g bin -m 555 web2png /usr/local/bin/web2png
make install-man1
/bin/sh ./mkinstalldirs /usr/local/man/man1
install -c -o root -g bin -m 444 ./gif2png.1 /usr/local/man/man1/gif2png.1
install -c -o root -g bin -m 444 ./web2png.1 /usr/local/man/man1/web2png.1
install -d -o root -g bin -m 755 \
/usr/ports/graphics/gif2png/work/fake-i386/usr/local/share/doc/gif2png
cd /usr/ports/graphics/gif2png/work/gif2png-2.3.3; \
install -c -o root -g bin -m 444 COPYING README \
/usr/ports/graphics/gif2png/work/fake-i386/usr/local/share/doc/gif2png
install -c -o root -g bin -m 555 \
/usr/ports/graphics/gif2png/work/gif2png-2.3.3/web2png \
/usr/ports/graphics/gif2png/work/fake-i386/usr/local/libexec/web2png.bin
install -c -o root -g bin -m 555 \
/usr/ports/graphics/gif2png/work/web2png \
/usr/ports/graphics/gif2png/work/fake-i386/usr/local/bin
===> Building package for gif2png-2.3.3
Creating package /usr/ports/packages/i386/All/gif2png-2.3.3.tgz
Using SrcDir value of /usr/ports/graphics/gif2png/work/fake-i386/usr/local
Registering depends: png-1.0.8.
Creating gzip'd tar ball in '/usr/ports/packages/i386/All/gif2png-2.3.3.tgz'
tar: Unable to access bin/gif2png <No such file or directory>
tar: Unable to access man/man1/gif2png.1 <No such file or directory>
tar: Unable to access man/man1/web2png.1 <No such file or directory>
tar: WARNING! These file names were not selected:
bin/gif2png
man/man1/gif2png.1
man/man1/web2png.1
pkg_create: tar command failed with code 256
*** Error code 1
Stop in /usr/ports/graphics/gif2png
(line 1820 of /usr/ports/infrastructure/mk/bsd.port.mk).
yk_(_at_)_obsd:/usr/ports/graphics/gif2png$ man ports
In this example /usr/local/bin/gif2png DOES exist after I 'make install'.
This kind of thing happens many times. Why? What should I do?
And I have another question. I noticed some people maintains X11
source code for OpenBSD using CVS system. Is it possible for me to
keep updated copy on my machine? What should be the argument for -P
optoin of 'cvs checkout' command?
thank you.
--
Yutaka KAWASE <yutaka_(_at_)_isoternet_(_dot_)_org>
Visit your host, monkey.org