compiling ports
Hello there, May somebody tell me all the required steps to compile a splix port? Whenever I tried gcc I have Oops somewhere in the middle or at the end. I am aware of FreeBSD Porter's Handbook, and it looks like that I will end in considering of entering a computer scince courses and there is no time for me to. Regards, Igor. -- igor denisov. -- E75. Opnqrni dnqrso j onwre. http://www.nokia.ru/microsites/e75
Re: compiling ports
igor denisov denisovigor1...@rambler.ru writes: May somebody tell me all the required steps to compile a splix port? Whenever I tried gcc I have Oops somewhere in the middle or at the end. If you quote the exact message you get, there's a chance to diagnose the problem and find a fix. Compilers crashing at random is frequently down to hardware problems such as dodgy RAM. Then again, in most cases installing a prebuilt packages is usually preferable (unless, of course, there is some reason why you *have* to build from source such as encumbered files the project can't package for legal reasons), ie with PKG_PATH set to something sensible, pkg_add splix I am aware of FreeBSD Porter's Handbook, and it looks like that I will end in considering of entering a computer scince courses and there is no time for me to. While the original idea for a ports system and the original code came from FreeBSD, you should keep in mind that the modern OpenBSD version is a total rewrite and differs in various significant ways from the FreeBSD system. If you want to roll your own packages for OpenBSD, you *really* want to consult the OpenBSD documentation, not the FreeBSD one. -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ Remember to set the evil bit on all malicious network traffic delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Re: problem compiling ports, 3.8 stable
expat-1.95.6.tar.gz doesn't seem to exist on this system. Attempting to fetch /usr/ports/distfiles/expat-1.95.6.tar.gz from http://ovh.dl.sourceforge.net/sourceforge/expat/. Size does not match for /usr/ports/distfiles/expat-1.95.6.tar.gz *** Error code 2 Hello, the same ocurred here yesterday. I solved it installing the expat package with pkg_add. Regards. Ramiro.
Re: problem compiling ports, 3.8 stable
On Sat, Mar 18, 2006 at 03:11:14AM -0300, Gustavo Rios wrote: Dear folks, in order to improve my desktop openbsd box, i am trying to get some applications working, but without success. For instance, when i try to install gimp, i get this: Script started on Sat Mar 18 00:01:06 2006 # make build === graphics/gimp/stable === gimp-2.2.8 depends on: p5-XML-Parser-* - not found === Verifying install for p5-XML-Parser-* in textproc/p5-XML-Parser === Checking files for p5-XML-Parser-2.34 `/usr/ports/distfiles/XML-Parser-2.34.tar.gz' is up to date. Checksum OK for XML-Parser-2.34.tar.gz. (sha1) === p5-XML-Parser-2.34 depends on: expat.2 (expat-*) - expat.2 missing... === Verifying install for expat.2 (expat-*) in textproc/expat === Checking files for expat-1.95.6 expat-1.95.6.tar.gz doesn't seem to exist on this system. Attempting to fetch /usr/ports/distfiles/expat-1.95.6.tar.gz from http://ovh.dl.sourceforge.net/sourceforge/expat/. Size does not match for /usr/ports/distfiles/expat-1.95.6.tar.gz /bin/sh: test: 3: unexpected operator/operand *** Error code 2 Stop in /usr/ports/textproc/expat (line 1990 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/textproc/expat (line 1444 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/textproc/expat (line 1633 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/textproc/p5-XML-Parser (line 1334 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/textproc/p5-XML-Parser (line 1633 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/graphics/gimp/stable (line 1334 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/graphics/gimp (line 108 of /usr/ports/infrastructure/mk/bsd.port.subdir.mk). # exit Script done on Sat Mar 18 00:01:13 2006 This problem occurs with others applications like nasm, xfig and the like. I could not figure it out what i am doing wrong. I've seen this behaviour before when a sourceforge mirror was down. The easiest way to get this done is to manually download the required files to /usr/ports/distfiles from whereever they are stored (see the Makefile for that). Joachim
Re: problem compiling ports, 3.8 stable
Joachim Schipper wrote: On Sat, Mar 18, 2006 at 03:11:14AM -0300, Gustavo Rios wrote: Dear folks, in order to improve my desktop openbsd box, i am trying to get some applications working, but without success. For instance, when i try to install gimp, i get this: Script started on Sat Mar 18 00:01:06 2006 # make build === graphics/gimp/stable === gimp-2.2.8 depends on: p5-XML-Parser-* - not found === Verifying install for p5-XML-Parser-* in textproc/p5-XML-Parser === Checking files for p5-XML-Parser-2.34 `/usr/ports/distfiles/XML-Parser-2.34.tar.gz' is up to date. Checksum OK for XML-Parser-2.34.tar.gz. (sha1) === p5-XML-Parser-2.34 depends on: expat.2 (expat-*) - expat.2 missing... === Verifying install for expat.2 (expat-*) in textproc/expat === Checking files for expat-1.95.6 expat-1.95.6.tar.gz doesn't seem to exist on this system. Attempting to fetch /usr/ports/distfiles/expat-1.95.6.tar.gz from http://ovh.dl.sourceforge.net/sourceforge/expat/. Size does not match for /usr/ports/distfiles/expat-1.95.6.tar.gz /bin/sh: test: 3: unexpected operator/operand *** Error code 2 Stop in /usr/ports/textproc/expat (line 1990 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/textproc/expat (line 1444 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/textproc/expat (line 1633 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/textproc/p5-XML-Parser (line 1334 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/textproc/p5-XML-Parser (line 1633 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/graphics/gimp/stable (line 1334 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/graphics/gimp (line 108 of /usr/ports/infrastructure/mk/bsd.port.subdir.mk). # exit Script done on Sat Mar 18 00:01:13 2006 This problem occurs with others applications like nasm, xfig and the like. I could not figure it out what i am doing wrong. I've seen this behaviour before when a sourceforge mirror was down. The easiest way to get this done is to manually download the required files to /usr/ports/distfiles from whereever they are stored (see the Makefile for that). Joachim Another option is also to simply use packages. Going off your earlier post, I believe you are running 3.8-stable. Even though packages are fom -release, you can still install them on 3.8-stable systems. From http://www.openbsd.org/faq/faq15.html#NoFun Because no intrusive changes are made in -stable, it is possible to use a -stable ports tree on a -release system, and vice versa. There is no need to update all your installed packages after applying a few errata patches to your system.
problem compiling ports, 3.8 stable
Dear folks, in order to improve my desktop openbsd box, i am trying to get some applications working, but without success. For instance, when i try to install gimp, i get this: Script started on Sat Mar 18 00:01:06 2006 # make build === graphics/gimp/stable === gimp-2.2.8 depends on: p5-XML-Parser-* - not found === Verifying install for p5-XML-Parser-* in textproc/p5-XML-Parser === Checking files for p5-XML-Parser-2.34 `/usr/ports/distfiles/XML-Parser-2.34.tar.gz' is up to date. Checksum OK for XML-Parser-2.34.tar.gz. (sha1) === p5-XML-Parser-2.34 depends on: expat.2 (expat-*) - expat.2 missing... === Verifying install for expat.2 (expat-*) in textproc/expat === Checking files for expat-1.95.6 expat-1.95.6.tar.gz doesn't seem to exist on this system. Attempting to fetch /usr/ports/distfiles/expat-1.95.6.tar.gz from http://ovh.dl.sourceforge.net/sourceforge/expat/. Size does not match for /usr/ports/distfiles/expat-1.95.6.tar.gz /bin/sh: test: 3: unexpected operator/operand *** Error code 2 Stop in /usr/ports/textproc/expat (line 1990 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/textproc/expat (line 1444 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/textproc/expat (line 1633 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/textproc/p5-XML-Parser (line 1334 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/textproc/p5-XML-Parser (line 1633 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/graphics/gimp/stable (line 1334 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/graphics/gimp (line 108 of /usr/ports/infrastructure/mk/bsd.port.subdir.mk). # exit Script done on Sat Mar 18 00:01:13 2006 This problem occurs with others applications like nasm, xfig and the like. I could not figure it out what i am doing wrong. /Thanks in advance.