You are not logged in.
Hi. I tried like that:
# Contributor: Maciej Ciemborowicz <moonkey[at]op[dot]pl>
pkgname=chionic
pkgver=1.0.1
pkgrel=1
pkgdesc="advanced audio sampler for Linux"
url="http://sourceforge.net/projects/cheesetronic"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('libsigcpp1.2')
makedepends=('scons' 'python>=2.2')
source=('http://downloads.sourceforge.net/cheesetronic/chionic-1.0.1.tar.gz')
build() {
cd "$srcdir/$pkgname-$pkgver"
scons CXX="g++-3.3" || return 1
scons install prefix=/usr || return 1
scons -c || return 1
}But scons still use standard g++:
bash-3.2# makepkg --asroot
==> Making package: chionic 1.0.1-1 x86_64 (pią, 13 mar 2009, 16:45:44 CET)
==> WARNING: Running makepkg as root...
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found chionic-1.0.1.tar.gz in build dir
==> WARNING: Integrity checks (md5) are missing or incomplete.
==> Extracting Sources...
-> bsdtar -x -f chionic-1.0.1.tar.gz
==> Removing existing pkg/ directory...
==> Starting build()...
scons: Reading SConscript files ...
scons: warning: The Options class is deprecated; use the Variables class instead.
File "/var/abs/local/chionic/src/chionic-1.0.1/SConstruct", line 41, in <module>
detected /opt/qt/bin/moc
scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/var/abs/local/chionic/src/chionic-1.0.1/common/plugins/effects/custom/SCsub", line 3, in <module>
scons: done reading SConscript files.
scons: Building targets ...
g++ -o cheezator/engine/cz_bank.o -c -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include -DPOSIX_ENABLED -O3 -ffast-math -DLADSPA_ENABLED -DOSS_ENABLED -DJACK_ENABLED -DALSA_ENABLED -I/usr/include/alsa -DSNDFILE_ENABLED -Icommon/ -Icommon/defines/ -Icommon/ -Icommon/defines/ -Icommon/components/data -Icommon/components/data -I/opt/qt/include -DQT_NO_EMIT -Icommon/components/data -Icommon -I. -Icommon/defines cheezator/engine/cz_bank.cpp
In file included from common/components/audio/lfo.h:36,
from ./cheezator/engine/cz_patch.h:17,
from cheezator/engine/cz_bank.h:15,
from cheezator/engine/cz_bank.cpp:12:
common/components/data/property_bridges.h:92: error: extra qualification 'Int_Property_Bridge::' on member 'copy_value'
common/components/data/property_bridges.h:147: error: extra qualification 'Float_Property_Bridge::' on member 'copy_value'
common/components/data/property_bridges.h:162: error: extra qualification 'Bool_Property_Bridge::' on member 'copy_value'
common/components/data/property_bridges.h:180: error: extra qualification 'String_Property_Bridge::' on member 'copy_value'
common/components/data/property_bridges.h:199: error: extra qualification 'Options_Property_Bridge::' on member 'copy_value'
scons: *** [cheezator/engine/cz_bank.o] Error 1
scons: building terminated because of errors.
==> ERROR: Build Failed.
Aborting...
bash-3.2#What am I doing wrong?
my home page and my blog
Offline
use this patch: http://gentoo.zapto.org/repos/pro-audio … -fix.patch
Offline
Yeah, i tried it. But it still doesn't works.
bash-3.2# makepkg
==> ERROR: Running makepkg as root is a BAD idea and can cause
permanent, catastrophic damage to your system. If you
wish to run as root, please use the --asroot option.
bash-3.2# makepkg --asroot
==> Making package: chionic 1.0.1-1 x86_64 (sob, 14 mar 2009, 17:22:38 CET)
==> WARNING: Running makepkg as root...
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found chionic-1.0.1.tar.gz in build dir
==> WARNING: Integrity checks (md5) are missing or incomplete.
==> Extracting Sources...
-> bsdtar -x -f chionic-1.0.1.tar.gz
==> Removing existing pkg/ directory...
==> Starting build()...
Downloading patch...
--2009-03-14 17:22:46-- http://gentoo-overlays.zugaina.org/pro-audio/portage/media-sound/chionic/files/gcc4.1-fix.patch
Translacja gentoo-overlays.zugaina.org... 91.121.48.21, 2001:41d0:1:aed3::1
Łączenie się z gentoo-overlays.zugaina.org|91.121.48.21|:80... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK
Długość: 1299 (1,3K) [text/plain]
Zapis do: `gcc4.1-fix.patch.1'
100%[===================================================================================>] 1.299 --.-K/s w 0,001s
2009-03-14 17:22:47 (1,08 MB/s) - zapisano `gcc4.1-fix.patch.1' [1299/1299]
Editing SConstruct...
Patching: gcc4.1-fix.patch...
patching file common/components/data/property_bridges.h
patching file common/components/audio/resampler_manager.h
patching file common/drivers/posix/sound_driver_jack.h
scons: Reading SConscript files ...
detected /opt/qt/bin/moc
scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/var/abs/local/chionic/src/chionic-1.0.1/common/plugins/effects/custom/SCsub", line 3, in <module>
scons: done reading SConscript files.
scons: Building targets ...
g++ -o cheezator/engine/cz_engine.o -c -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include -DPOSIX_ENABLED -O3 -ffast-math -DLADSPA_ENABLED -DOSS_ENABLED -DJACK_ENABLED -DALSA_ENABLED -I/usr/include/alsa -DSNDFILE_ENABLED -Icommon/ -Icommon/defines/ -Icommon/ -Icommon/defines/ -Icommon/components/data -Icommon/components/data -I/opt/qt/include -DQT_NO_EMIT -Icommon/components/data -Icommon -I. -Icommon/defines cheezator/engine/cz_engine.cpp
In file included from common/components/midi/midi_event_handler.h:22,
from common/components/midi/midi_engine.h:16,
from cheezator/engine/cz_engine.h:15,
from cheezator/engine/cz_engine.cpp:12:
common/defines/pvector.h:10: error: declaration of 'std::vector<T*, std::allocator<T*> > VectorPointer<T>::vector'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/../../../../include/c++/4.3.3/bits/stl_vector.h:176: error: changes meaning of 'vector' from 'class std::vector<T*, std::allocator<T*> >'
scons: *** [cheezator/engine/cz_engine.o] Error 1
scons: building terminated because of errors.
==> ERROR: Build Failed.
Aborting...
bash-3.2#Here is the same problem: http://aur.archlinux.org/packages.php?ID=2743 .
my home page and my blog
Offline