You are not logged in.

#1 2004-07-30 01:05:05

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 705
Website

Compiling Y

I wanted to see how Y windows is coming, so I made a PKGBUILD for it.

# Contributor:  Lukas Sabota <punkrockguy318@comcast.net>
pkgname=y
pkgver=0.2.1
pkgrel=1
pkgdesc="A successer to the X11 windowing system."
url="http://y-windows.org/"
license="GPL"
depends=(libsigc++2)
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://www.y-windows.org/releases/Y-$pkgver.tar.gz)
md5sums=()

build() {
  cd $startdir/src/Y-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

When I compile it, I'm getting these error messages...

mkdir -p YKB
perl -MParse::RecDescent - YKB/YKBGrammar YKB::YKBGrammar
Can't locate Parse/RecDescent.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i686-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.
make[2]: *** [YKB/YKBGrammar.pm] Error 2
make[2]: Leaving directory `/home/punkrockguy318/y/src/Y-0.2.1/config/keymaps'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/punkrockguy318/y/src/Y-0.2.1/config'
make: *** [all-recursive] Error 1

Any ideas?


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#2 2004-07-30 12:11:55

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: Compiling Y

Can't locate Parse/RecDescent.pm in @INC (@INC contains:

find what RecDescent.pm  is (a perl thing) and get it and install it. then try again

Offline

#3 2004-07-30 21:51:09

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 705
Website

Re: Compiling Y

Okay, I made  a package for perl-parse-recdescent.  It nows compiles past that point, but stops with this:

g++ -g -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wimplicit -Wstrict-prototypes -Wmissing-prototypes -W -Wno-unused -Wno-shadow -Wundef -Wpacked -Wfloat-equal -Werror -march=i686 -O2 -pipe -Wl,--warn-common -Wl,--fatal-warnings -o .libs/yctl yctl.o  -pthread ../../libYc++/.libs/libYc++.so /usr/lib/libsigc-1.2.so
/usr/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/libsigc-1.2.so, may conflict with libstdc++.so.6
collect2: ld returned 1 exit status
make[2]: *** [yctl] Error 1
make[2]: Leaving directory `/home/punkrockguy318/tur/other/y/src/Y-0.2.1/clients/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/punkrockguy318/tur/other/y/src/Y-0.2.1/clients'
make: *** [all-recursive] Error 1

Grr.. Any ideas?


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#4 2004-07-31 00:49:02

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Compiling Y

Maybe another version? Take a look at this gentoo ebuild: http://www.gentoo-portage.com/ebuild_do … 0.2.ebuild

Offline

Board footer

Powered by FluxBB