Issue 12 in synthclone: Comipilation error synthclone-0.3.0 on AVLinux6

4 views
Skip to first unread message

synth...@googlecode.com

unread,
Dec 21, 2012, 2:42:10 PM12/21/12
to synthclone-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 12 by di...@umich.edu: Comipilation error synthclone-0.3.0 on
AVLinux6
http://code.google.com/p/synthclone/issues/detail?id=12

Thanks for the new version of synthclone. I encountered this error when
trying to build synthclone-0.3.0.tar.gz on AVLinux6 (based on Debian
Squeeze).

make[3]: Entering directory
`/mhome/sound/software/synthclone-0.3.0/src/plugins/renoise'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DSYNTHCLONE_PLATFORM_UNIX
-DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../../include
-I../../../make/plugins/renoise
-o ../../../make/plugins/renoise/archivewriter.o archivewriter.cpp
In file included from archivewriter.cpp:28:0:
archivewriter.h:50:13: error: ‘zip_uint16_t’ has not been declared
archivewriter.h:52:12: error: ‘zip_int64_t’ does not name a type
archivewriter.h:56:5: error: ‘zip_int64_t’ does not name a type
archivewriter.h:63:5: error: ‘zip_uint16_t’ does not name a type
archivewriter.cpp:47:1: error: ‘zip_int64_t’ does not name a type
archivewriter.cpp:95:24: error: ‘zip_uint16_t’ has not been declared
archivewriter.cpp: In member function ‘void ArchiveWriter::addFile(const
QString&, const QString&, int)’:
archivewriter.cpp:110:55: error: ‘handleSourceCommand’ was not declared in
this scope
archivewriter.cpp:116:5: error: ‘sourceCompressionMethod’ was not declared
in this scope
archivewriter.cpp:122:5: error: ‘zip_int64_t’ was not declared in this scope
archivewriter.cpp:122:17: error: expected ‘;’ before ‘result’
archivewriter.cpp:123:9: error: ‘result’ was not declared in this scope
archivewriter.cpp: At global scope:
archivewriter.cpp:146:1: error: ‘zip_int64_t’ does not name a type
make[3]: *** [../../../make/plugins/renoise/archivewriter.o] Error 1

Any ideas about this erorr? An I missing a dependency?

I also tried to bypass this error by disabling the renoise compliation
trying both
$ ./configure --prefix=/usr/local --skip-renoise=0
and
$ ./configure --prefix=/usr/local --skip-renoise=1
but neither helped

Thanks


synth...@googlecode.com

unread,
Dec 21, 2012, 3:44:17 PM12/21/12
to synthclone-...@googlegroups.com

Comment #1 on issue 12 by surfacep...@gmail.com: Comipilation error
What version of libzip do you have installed?

Regarding the configure script, I can see the error now. I should be
passing 'SKIP_RENOISE_PLUGIN' to qmake instead of 'SKIP_RENOISE'. I'll fix
that when I'm at my development machine next. Temporarily, you can change
line 190 of the configure script if you want to build synthclone.

Thanks for the bug report!


synth...@googlecode.com

unread,
Dec 22, 2012, 12:02:55 AM12/22/12
to synthclone-...@googlegroups.com

Comment #2 on issue 12 by surfacep...@gmail.com: Comipilation error
The --skip-renoise switch bug is fixed in trunk.

synth...@googlecode.com

unread,
Dec 22, 2012, 12:08:26 AM12/22/12
to synthclone-...@googlegroups.com

Comment #3 on issue 12 by surfacep...@gmail.com: Comipilation error
The version of libzip I'm linking against on my development box is
0.10.1-1.1. The stable version in Debian Squeeze seems to be 0.9.3-1. I'm
going to check the differences between the two versions.

synth...@googlecode.com

unread,
Dec 22, 2012, 2:10:30 AM12/22/12
to synthclone-...@googlegroups.com
Updates:
Status: Fixed

Comment #4 on issue 12 by surfacep...@gmail.com: Comipilation error
Version 0.10.1 and version 0.9.3 are quite different. Version 0.10 has
been around for nearly 2 years now. I'm a little surprised there's not a
newer version in Debian Backports.

I'm going to stick with version 0.10.

Debian Wheezy appears to have the appropriate packages:

http://packages.debian.org/wheezy/libzip2
http://packages.debian.org/wheezy/libzip-dev

Once again, thanks for the bug report. When you get synthclone up and
running, let me know how it works for you. :)


synth...@googlecode.com

unread,
Dec 23, 2012, 2:10:35 PM12/23/12
to synthclone-...@googlegroups.com

Comment #5 on issue 12 by di...@umich.edu: Comipilation error
Thanks for the help. I updated libzip and was able to compile synthclone.
However when I start it I get this error:
$ synthclone
"Translations loaded."
"Creating core application objects ..."
Error: core plugin directory is not accessible
"Unloading translations ..."

Any ideas about that? Thanks.

synth...@googlecode.com

unread,
Dec 23, 2012, 2:24:46 PM12/23/12
to synthclone-...@googlegroups.com
Updates:
Status: New

Comment #6 on issue 12 by surfacep...@gmail.com: Comipilation error
Interesting. What were the arguments you gave to the `configure` script?

synth...@googlecode.com

unread,
Dec 23, 2012, 2:42:18 PM12/23/12
to synthclone-...@googlegroups.com

Comment #7 on issue 12 by surfacep...@gmail.com: Comipilation error
I just committed code to trunk that outputs the plugin directory that isn't
able to be found. The error message that synthclone outputs isn't helpful
if it doesn't also output the directory it tried to access.

synth...@googlecode.com

unread,
Dec 23, 2012, 5:22:01 PM12/23/12
to synthclone-...@googlegroups.com

Comment #8 on issue 12 by di...@umich.edu: Comipilation error
Thanks for the quick changes. I just build the git version, and now
synthclone works! Unfortunately, I don't have much time to try it out the
next few days, but will give it a spin next week.

synth...@googlecode.com

unread,
Dec 23, 2012, 6:01:17 PM12/23/12
to synthclone-...@googlegroups.com

Comment #9 on issue 12 by surfacep...@gmail.com: Comipilation error
Fantastic!

Do you know why it wasn't finding the core plugin directory before? I'd
like to fix that problem if possible.

synth...@googlecode.com

unread,
Dec 23, 2012, 7:06:54 PM12/23/12
to synthclone-...@googlegroups.com

Comment #11 on issue 12 by surfacep...@gmail.com: Comipilation error
It seems like /usr/local/lib isn't being checked for shared libraries on
your system. Perhaps that's a binutils issue, or maybe the distro doesn't
include /usr/local/lib in your library path by default.


synth...@googlecode.com

unread,
Dec 23, 2012, 6:36:12 PM12/23/12
to synthclone-...@googlegroups.com

Comment #10 on issue 12 by di...@umich.edu: Comipilation error
I do not have any idea why it could not find the core plugin directory.
Also, before I that I have tried to configure with --prefix=/usr/local but
that did not work:

$ synthclone
synthclone: error while loading shared libraries: libsynthclone.so.0:
cannot open shared object file: No such file or directory

But the library seems to be installed:

$ ls -al /usr/local/lib/libsynthclone*
lrwxrwxrwx 1 root staff 22 Dec 23 18:28 /usr/local/lib/libsynthclone.so
-> libsynthclone.so.0.3.0
lrwxrwxrwx 1 root staff 22 Dec 23 18:28
/usr/local/lib/libsynthclone.so.0 -> libsynthclone.so.0.3.0
lrwxrwxrwx 1 root staff 22 Dec 23 18:28
/usr/local/lib/libsynthclone.so.0.3 -> libsynthclone.so.0.3.0
-rwxr-xr-x 1 root staff 963052 Dec 23 18:28
/usr/local/lib/libsynthclone.so.0.3.0

But if I build/install --prefix=/usr then synthclone works.

$ synthclone
"Translations loaded."
"Creating core application objects ..."
"Loading plugins from '/usr/lib/synthclone/plugins' ..."
"Attempting to load plugin from
'/usr/lib/synthclone/plugins/libsynthclone_jack.so' ..."
"Participant added to session manager: JACK 0.0-1"
...etc

Thanks for the help.

synth...@googlecode.com

unread,
Dec 23, 2012, 7:26:16 PM12/23/12
to synthclone-...@googlegroups.com

Comment #12 on issue 12 by di...@umich.edu: Comipilation error
Well, I thought I could build for /usr/local, but when I checked I see I
have no executables built for /usr/local so maybe it is not configure on
AVLinux6, though I swear I have put programs in there before. In AVLinux
/usr/local/lib seems mainly a place for lv2 and vst plugins.

synth...@googlecode.com

unread,
Dec 25, 2012, 6:48:14 PM12/25/12
to synthclone-...@googlegroups.com
Updates:
Status: Fixed

Comment #13 on issue 12 by surfacep...@gmail.com: Comipilation error
Perhaps AVLinux changed something in the latest version. Not sure.

I'm going to go ahead and close this issue.

When you get a chance to play with synthclone, please let me know if you
have any questions, if you think anything can be improved, etc.

Thanks!


Reply all
Reply to author
Forward
0 new messages