Subject: port2pkg question
To: None <tech-pkg@netbsd.org>
From: Roger Fischer <rogerf1@mac.com>
List: tech-pkg
Date: 03/18/2000 16:39:20
I found the xfm-1.3.2 file manager on Linux to be extremely useful. I
found version 1.4 on the net at
http://www.musikwissenschaft.uni-mainz.de/~ag/xfm/ and found that I like it
even better. I good lightweight and quick file manager would be great on
my NetBSD box.
I was disapointed that it was not in the NetBSD packages collection. KDE
has a file manager but it's dog slow on my Mac Centris 610 running NetBSD
1.4.
I found /x11-fm/xfm-1.3.2 in the freebsd ports collection.
I downloaded the port and then tried the port2pkg app in order to try and
translate it into a package so I could build it on my NetBSD box.
This is where I ran into several problems.
First, when checking dependencies it did not recognize that I had
graphics/xpm-3.4k already installed, so it built and tried to install that.
After I got past that hurdle it still wouldn't build properly.
Has anybody successfully made a package of this? ( xfm-1.4 :^)
Does anybody know why it won't build on my system?
Thanks
- Roger
===> Validating dependencies for xfm-1.3.2
=> Checksum OK for xfm-1.3.2.tar.gz.
===> Extracting for xfm-1.3.2
===> xfm-1.3.2 depends on package: Xpm.4
===> Verifying install for ../../graphics/xpm
=> Checksum OK for xpm-3.4k.tar.gz.
===> Extracting for xpm-3.4k
===> Patching for xpm-3.4k
===> Applying NetBSD patches for xpm-3.4k
===> Configuring for xpm-3.4k
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
make Makefiles
.
.
.
===> Installing for xpm-3.4k
===> xpm-3.4k is already installed - perhaps an older version?
If so, you may wish to ``pkg_delete xpm-3.4k'' and install
this package again by ``make reinstall'' to upgrade it properly,
or use ``make update'' to upgrade it and all of its dependencies.
If you really wish to overwrite the old package of xpm-3.4k
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
Stop.
Anyway, I did the make reinstall, which then decided it wanted to
completely delete my KDE and Mosaic packages and rebuild them.
Should I have used the "FORCE_PKG_REGISTER" command?
Anyway... I finally got to the build part and got more errors.
max: {11} cat make3.log
===> Validating dependencies for xfm-1.3.2
=> Checksum OK for xfm-1.3.2.tar.gz.
===> Extracting for xfm-1.3.2
===> xfm-1.3.2 depends on package: Xpm.4
===> Verifying install for ../../graphics/xpm
===> Returning to build of xfm-1.3.2
===> Patching for xfm-1.3.2
===> Applying NetBSD patches for xfm-1.3.2
===> Configuring for xfm-1.3.2
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
make Makefiles
making Makefiles in regexp...
making Makefiles in src...
make includes
make depend
depending in ./regexp...
rm -f .depend
makedepend -f- -- -I. -I/usr/X11R6/include -DCSRG_BASED
-DFUNCPROTO=15 -DNARROWPROTO -- regexp.c regsub.c regerror.c > .depend
depending in ./src...
rm -f .depend
makedepend -f- -- -I../regexp -I/usr/X11R6/include -DCSRG_BASED
-DFUNCPROTO=15 -DNARROWPROTO -DXPM -DMAGIC_HEADERS -- FmMain.c FmPopup.c
FmUtils.c FmDirs.c FmBitmaps.c FmFw.c FmFwCb.c FmAw.c FmAwCb.c
FmAwActions.c FmAwPopup.c FmFwActions.c FmChmod.c FmInfo.c FmErrors.c
FmDelete.c FmConfirm.c FmExec.c FmComms.c FmOps.c magic.c xfmtype.c
> .depend
===> Building for xfm-1.3.2
making all in ./regexp...
rm -f regexp.o
gcc -c -O2 -I. -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15
-DNARROWPROTO regexp.c
rm -f regsub.o
gcc -c -O2 -I. -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15
-DNARROWPROTO regsub.c
rm -f regerror.o
gcc -c -O2 -I. -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15
-DNARROWPROTO regerror.c
rm -f libregexp.a
ar clq libregexp.a regexp.o regsub.o regerror.o
ranlib libregexp.a
making all in ./src...
gcc -O2 -I../regexp -I/usr/X11R6/include -DCSRG_BASED
-DFUNCPROTO=15 -DNARROWPROTO -DXPM -DMAGIC_HEADERS -c FmMain.c
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
max: {12}