Hello,
Unfortunately, I'm not a developer and have no programming knowledge.
I know this is a bad starter ;-)

I'm using current as of yesterday. 

I'm trying to use the ports system to compile the beta version of pan 
(rebelbase.com) because it has nzb support and runs much nicer.
Actually the application compiles and runs nicely without using the port and 
packages, but I would prefer to have it as a package, doing it the proper way, 
to be able to uninstall it and be able to rebuild it when needed.

My /etc/mk.conf file contains the following:
BSDSRCDIR=/home/sources/src
PORTSDIR=/home/sources/ports
USE_SYSTRACE=yes

Here is the content of the Makefile (of my news/pan.new):
COMMENT=        "powerful Gtk+2 newsreader"
V=              0.119
DISTNAME=       pan-${V}
CATEGORIES=     news x11
MASTER_SITES=   ${HOMEPAGE}download/releases/${V}/source/

HOMEPAGE=       http://pan.rebelbase.com/

# GPL
PERMIT_PACKAGE_CDROM=   Yes
PERMIT_PACKAGE_FTP=     Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP=   Yes

USE_LIBTOOL=    Yes

MODULES=        devel/gettext
BUILD_DEPENDS+= :pkgconfig-*:devel/pkgconfig

CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--disable-gtkspell
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
                LDFLAGS="-L${LOCALBASE}/lib" \
                LIBS="-pthread"

.include <bsd.port.mk>

When I run "make lib-depends-check" the application fails when it starts to 
build the package:
 install -c -o root -g bin -m 444 'pan.desktop' 
'/home/sources/ports/news/pan.new/w-pan-0.119/fake-i386/usr/local/share/applications/pan.desktop'
test -z "/usr/local/share/pixmaps" || /bin/sh ./mkinstalldirs 
"/home/sources/ports/news/pan.new/w-pan-0.119/fake-i386/usr/local/share/pixmaps"
mkdir 
/home/sources/ports/news/pan.new/w-pan-0.119/fake-i386/usr/local/share/pixmaps
 install -c -o root -g bin -m 444 'pan.png' 
'/home/sources/ports/news/pan.new/w-pan-0.119/fake-i386/usr/local/share/pixmaps/pan.png'
===>  Building package for pan-0.119
Create /home/sources/ports/packages/i386/all/pan-0.119.tgz
Error in package: 
"/home/sources/ports/news/pan.new/w-pan-0.119/fake-i386//usr/local/share/gnome/apps/Internet/pan.desktop"
 does not exist
Error in package: 
"/home/sources/ports/news/pan.new/w-pan-0.119/fake-i386//usr/local/share/locale/no/LC_MESSAGES/pan.mo"
 does not exist
===>  Cleaning for pan-0.119
rm -f /home/sources/ports/packages/i386/all/pan-0.119.tgz 
/home/sources/ports/packages/i386/ftp/pan-0.119.tgz 
/home/sources/ports/packages/i386/cdrom/pan-0.119.tgz
*** Error code 1

Stop in /home/sources/ports/news/pan.new (line 1363 of 
/home/sources/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /home/sources/ports/news/pan.new (line 1855 of 
/home/sources/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /home/sources/ports/news/pan.new (line 1661 of 
/home/sources/ports/infrastructure/mk/bsd.port.mk).

The 
"/home/sources/ports/news/pan.new/w-pan-0.119/fake-i386//usr/local/share/locale/no/LC_MESSAGES/pan.mo"
file exists, I don't understand why it is failing, perhaps it is the double // 
between "../fake-i386//usr/..."

Please don't tell me I shouldn't try this, I would really try to learn on how 
to make my own ports and
I would really appreciate if you could give me some advices or ideas on how to 
fix this issue.
I've read the following urls: http://www.openbsd.org/porting.html but it is not 
very easy to understand as a non developer ;-)
Thank you very much !!!
Kind regards,
Didier

Reply via email to