You are not logged in.

#1 2004-05-03 19:32:20

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

Menushki Pacakge Compiliation Problems

I have decided to make a package for menushki - a menu converter for Blackbox, Enlightenment, Windowmaker, IceWM, KDE, and Gnome.  I took the PKGBUILD.proto and modified it to my needs.

pkgname=menushki
pkgver=1.0
pkgrel=1
pkgdesc=""
url=""
license=""
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=($pkgname-$pkgver.tar.gz)
md5sums=()

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

But when it get's to make, it gives me this error and the build fails...

menushki.cc: In function `void show_welcome()':
menushki.cc:48: error: invalid conversion from `const char*' to `int'
menushki.cc:48: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc:49: error: invalid conversion from `const char*' to `int'
menushki.cc:49: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc:50: error: invalid conversion from `const char*' to `int'
menushki.cc:50: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc:51: error: invalid conversion from `const char*' to `int'
menushki.cc:51: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc:52: error: invalid conversion from `const char*' to `int'
menushki.cc:52: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc: In function `char* get_name(char*, char*)':
menushki.cc:78: error: invalid conversion from `char*' to `int'
menushki.cc:78: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc:107: error: invalid conversion from `char*' to `int'
menushki.cc:107: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc:109: error: invalid conversion from `char*' to `int'
menushki.cc:109: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc:110: error: invalid conversion from `const char*' to `int'
menushki.cc:110: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc: In function `void print_err(char*)':
menushki.cc:142: error: invalid conversion from `char*' to `int'
menushki.cc:142: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc: In function `int main(int, char**)':
menushki.cc:171: error: no matching function for call to `ktool::horizontalmenu::additem(const char[9])'
../ktools-1.1/./include/konst.ui.menu.h:132: note: candidates are: void ktool::horizontalmenu::additem(int, int)
menushki.cc:173: error: no matching function for call to `ktool::verticalmenu::additem(char*&)'
../ktools-1.1/./include/konst.ui.menu.h:66: note: candidates are: void ktool::verticalmenu::additem(int, void*, int)
menushki.cc:176: error: no matching function for call to `ktool::horizontalmenu::additem(char*&)'
../ktools-1.1/./include/konst.ui.menu.h:132: note: candidates are: void ktool::horizontalmenu::additem(int, int)
menushki.cc:178: error: no matching function for call to `ktool::verticalmenu::additem(char*&)'
../ktools-1.1/./include/konst.ui.menu.h:66: note: candidates are: void ktool::verticalmenu::additem(int, void*, int)
menushki.cc:181: error: no matching function for call to `ktool::horizontalmenu::additem(const char[7])'
../ktools-1.1/./include/konst.ui.menu.h:132: note: candidates are: void ktool::horizontalmenu::additem(int, int)
menushki.cc:182: error: no matching function for call to `ktool::verticalmenu::additem(const char[6])'
../ktools-1.1/./include/konst.ui.menu.h:66: note: candidates are: void ktool::verticalmenu::additem(int, void*, int)
menushki.cc:272: error: invalid conversion from `char*' to `int'
menushki.cc:272: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc:274: error: invalid conversion from `char*' to `int'
menushki.cc:274: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc:275: error: invalid conversion from `char*' to `int'
menushki.cc:275: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc:276: error: invalid conversion from `char*' to `int'
menushki.cc:276: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc:320: error: invalid conversion from `char*' to `int'
menushki.cc:320: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc:321: error: invalid conversion from `char*' to `int'
menushki.cc:321: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc:322: error: invalid conversion from `char*' to `int'
menushki.cc:322: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
menushki.cc:323: error: invalid conversion from `char*' to `int'
menushki.cc:323: error:   initializing argument 3 of `void ktool::textwindow::write(int, int, int)'
make[1]: *** [menushki.o] Error 1
make[1]: Leaving directory `/home/punkrockguy318/menushki/src/menushki-1.0/src'
make: *** [all-recursive] Error 1

What should I do?  Here's the site:  http://menushki.sourceforge.net

Thanks!


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-05-03 19:44:07

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: Menushki Pacakge Compiliation Problems

this project is not really active (last touch 2001)

- maybe they are not longer compatible with the gcc 3.x

- maybe it's outdated and not usable any more with the new WM/DE's

did you tried to compile by hand? (without makepkg) same?


The impossible missions are the only ones which succeed.

Offline

#3 2004-05-03 20:20:43

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

Re: Menushki Pacakge Compiliation Problems

yeah, the same results


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

Board footer

Powered by FluxBB