Ivica,
I have good message ! pd-l2ork has been completely build on arch 64 from my new PKGBUILD. it has this last problem: If I want to install it to the system it complies about this:
error: failed to commit transaction (conflicting files) pd-l2ork: /usr/bin/cyclist exists in filesystem pd-l2ork: /usr/bin/pdreceive exists in filesystem pd-l2ork: /usr/bin/pdsend exists in filesystem pd-l2ork: /usr/share/man/man1/pdreceive.1.gz exists in filesystem pd-l2ork: /usr/share/man/man1/pdsend.1.gz exists in filesystem
all of the errors are conflicting files from pd-extended. If I uninstall pd-extended, everything goes well and I have functional pd-l2ork in the system. How to resolve this ?
next.. you have resolved problem with gem2pdp, but I have to run aclocal in this folder separately before building process, because in your script is only cd gem2pdp && autoconf something changed ?
and finally I have to patch the pd/src/configure.in for tcl/tk8.6, and I think it could be added officially here is the patch file:
*** configure.in 2013-01-23 19:46:22.000000000 +0100 --- configure.in.new 2013-01-23 19:54:57.476420874 +0100
*** 149,154 **** --- 149,155 ---- # exit -1 fi
*** 156,171 **** AC_CHECK_LIB(tcl8.3, main,, AC_CHECK_LIB(tcl8.2, main,, AC_CHECK_LIB(tcl8.0, main,, ! echo no tcl library found; exit 1)))))))
AC_CHECK_LIB(tk85, main,, ! AC_CHECK_LIB(tk8.5, main,, AC_CHECK_LIB(tk84, main,, AC_CHECK_LIB(tk8.4, main,, AC_CHECK_LIB(tk8.3, main,, AC_CHECK_LIB(tk8.2, main,, AC_CHECK_LIB(tk8.0, main,, ! echo no tk library found; exit 1)))))))
if test x$tk != "xno"; then --- 157,173 ---- AC_CHECK_LIB(tcl8.3, main,, AC_CHECK_LIB(tcl8.2, main,, AC_CHECK_LIB(tcl8.0, main,, ! echo no tcl library found; exit 1))))))))
! AC_CHECK_LIB(tk8.5, main,, AC_CHECK_LIB(tk84, main,, AC_CHECK_LIB(tk8.4, main,, AC_CHECK_LIB(tk8.3, main,, AC_CHECK_LIB(tk8.2, main,, AC_CHECK_LIB(tk8.0, main,, ! echo no tk library found; exit 1))))))))
fk.
Thanks for all your hard work! Please see comments below.
From: pd-list-bounces@iem.at [mailto:pd-list-bounces@iem.at] On Behalf Of Fero Kiraly Sent: Sunday, January 27, 2013 8:53 AM To: pd-list@iem.at Subject: Re: [PD] Building pd-l2ork on arch linux 64
Ivica,
I have good message ! pd-l2ork has been completely build on arch 64 from my new PKGBUILD.
it has this last problem:
If I want to install it to the system it complies about this:
error: failed to commit transaction (conflicting files)
pd-l2ork: /usr/bin/cyclist exists in filesystem
pd-l2ork: /usr/bin/pdreceive exists in filesystem
pd-l2ork: /usr/bin/pdsend exists in filesystem
pd-l2ork: /usr/share/man/man1/pdreceive.1.gz exists in filesystem
pd-l2ork: /usr/share/man/man1/pdsend.1.gz exists in filesystem
That is because both versions include these files. My understanding is that pd-extended packages this as a separate package pd-utils. How to handle this is not clear. For right now it is a conflict (as it should be) since both packages provide the same binary.
all of the errors are conflicting files from pd-extended.
If I uninstall pd-extended, everything goes well and I have functional pd-l2ork in the system.
How to resolve this ?
For right now exactly as you did, or install pd-l2ork using binary installer into /usr/local. Pd-extended does not support this as far as I could tell (it only supports install in /usr folder), so you would have to install pd-l2ork this way.
next.. you have resolved problem with gem2pdp, but I have to run aclocal in this folder separately before building process, because in your script is only
cd gem2pdp && autoconf
something changed ?
Wait, are you saying that if you:
cd externals/
make gem2pdp
this fails unless you manually run aclocal?
and finally I have to patch the pd/src/configure.in for tcl/tk8.6, and I think it could be added officially
here is the patch file:
Thanks for providing the patch. Does this mess with older versions, namely 8.5 or does this script work for both?
*** configure.in 2013-01-23 19:46:22.000000000 +0100
--- configure.in.new 2013-01-23 19:54:57.476420874 +0100
*** 149,154 ****
--- 149,155 ----
# exit -1
fi
AC_CHECK_LIB(tcl8.6, main,,
AC_CHECK_LIB(tcl85, main,,
AC_CHECK_LIB(tcl8.5, main,,
AC_CHECK_LIB(tcl84, main,,
*** 156,171 ****
AC_CHECK_LIB(tcl8.3, main,,
AC_CHECK_LIB(tcl8.2, main,,
AC_CHECK_LIB(tcl8.0, main,,
! echo no tcl library found; exit 1)))))))
AC_CHECK_LIB(tk85, main,,
! AC_CHECK_LIB(tk8.5, main,,
AC_CHECK_LIB(tk84, main,,
AC_CHECK_LIB(tk8.4, main,,
AC_CHECK_LIB(tk8.3, main,,
AC_CHECK_LIB(tk8.2, main,,
AC_CHECK_LIB(tk8.0, main,,
! echo no tk library found; exit 1)))))))
if test x$tk != "xno"; then
--- 157,173 ----
AC_CHECK_LIB(tcl8.3, main,,
AC_CHECK_LIB(tcl8.2, main,,
AC_CHECK_LIB(tcl8.0, main,,
! echo no tcl library found; exit 1))))))))
AC_CHECK_LIB(tk8.6, main,,
AC_CHECK_LIB(tk85, main,,
! AC_CHECK_LIB(tk8.5, main,,
AC_CHECK_LIB(tk84, main,,
AC_CHECK_LIB(tk8.4, main,,
AC_CHECK_LIB(tk8.3, main,,
AC_CHECK_LIB(tk8.2, main,,
AC_CHECK_LIB(tk8.0, main,,
! echo no tk library found; exit 1))))))))
fk.
This patch should be good for all versions of tk/tcl. But should be tested, I have only 8.6.
yes, I have to run aclocal in gem2pdp, otherwise it wont build.
[paum@bookes externals]$ make gem2pdp cd /home/paum/PK/AUR/pd-l2ork/src/pd-l2ork/externals/gem2pdp && autoconf configure.ac:44: error: possibly undefined macro: AM_SANITY_CHECK If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:46: error: possibly undefined macro: AM_MAINTAINER_MODE configure.ac:47: error: possibly undefined macro: AM_WITH_DMALLOC make: *** [/home/paum/PK/AUR/pd-l2ork/src/pd-l2ork/externals/gem2pdp/configure] Error 1
Do you see ? there is: cd /gem2pdp && autoconf. Shouldn't it be: cd gem2pdp && aclocal && autoconf ?
but running aclocal separately solves this problem as I have mentioned...
its pity that I cant have in system pd-l2ork and pd-extended together, anyway I am trying to resolve putting puradata vanilla & pd-extended to live together. I know that on debian it is posiibile, so maybe there is some solution for pd-l2ork ?
fk.
**
On 01/27/2013 09:40 AM, Fero Kiraly wrote:
This patch should be good for all versions of tk/tcl. But should be tested, I have only 8.6.
I tested it here on 8.5 and works ok, so it is now added to the git.
yes, I have to run aclocal in gem2pdp, otherwise it wont build.
[paum@bookes externals]$ make gem2pdp cd /home/paum/PK/AUR/pd-l2ork/src/pd-l2ork/externals/gem2pdp && autoconf configure.ac:44 http://configure.ac:44: error: possibly undefined macro: AM_SANITY_CHECK If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:46 http://configure.ac:46: error: possibly undefined macro: AM_MAINTAINER_MODE configure.ac:47 http://configure.ac:47: error: possibly undefined macro: AM_WITH_DMALLOC make: *** [/home/paum/PK/AUR/pd-l2ork/src/pd-l2ork/externals/gem2pdp/configure] Error 1
Do you see ? there is: cd /gem2pdp && autoconf. Shouldn't it be: cd gem2pdp && aclocal && autoconf ?
Yep. I added this to the git as well.
but running aclocal separately solves this problem as I have mentioned...
its pity that I cant have in system pd-l2ork and pd-extended together, anyway I am trying to resolve putting puradata vanilla & pd-extended to live together. I know that on debian it is posiibile, so maybe there is some solution for pd-l2ork ?
They *can* co-exist but pd-l2ork needs to be installed as a binary in the /usr/local folder. This can be done as follows:
cd l2ork_addons/ ./tar_em_up.sh -Fw (or -u) cd ../../ tar -jxf pd-l2ork-<arch>-<today's date in YYYYMMDD format>.tar.bz2 cd pd-l2ork-<arch>-<today's date in YYYYMMDD format> sudo make install
The other way would be to uninstall pd-utils and change conflicts within pd-l2ork to only conflict with that package and hope that pd-extended does not make it mandatory. Since I have no control over the last point (and Hans has indicated that he intends to make it mandatory), I see no incentive in trying to do the former. Should that change, I'll gladly look into it.
fk.
On 01/27/2013 09:54 AM, Ivica Ico Bukvic wrote:
On 01/27/2013 09:40 AM, Fero Kiraly wrote:
This patch should be good for all versions of tk/tcl. But should be tested, I have only 8.6.
I tested it here on 8.5 and works ok, so it is now added to the git.
yes, I have to run aclocal in gem2pdp, otherwise it wont build.
[paum@bookes externals]$ make gem2pdp cd /home/paum/PK/AUR/pd-l2ork/src/pd-l2ork/externals/gem2pdp && autoconf configure.ac:44 http://configure.ac:44: error: possibly undefined macro: AM_SANITY_CHECK If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:46 http://configure.ac:46: error: possibly undefined macro: AM_MAINTAINER_MODE configure.ac:47 http://configure.ac:47: error: possibly undefined macro: AM_WITH_DMALLOC make: *** [/home/paum/PK/AUR/pd-l2ork/src/pd-l2ork/externals/gem2pdp/configure] Error 1
Do you see ? there is: cd /gem2pdp && autoconf. Shouldn't it be: cd gem2pdp && aclocal && autoconf ?
Yep. I added this to the git as well.
but running aclocal separately solves this problem as I have mentioned...
its pity that I cant have in system pd-l2ork and pd-extended together, anyway I am trying to resolve putting puradata vanilla & pd-extended to live together. I know that on debian it is posiibile, so maybe there is some solution for pd-l2ork ?
They *can* co-exist but pd-l2ork needs to be installed as a binary in the /usr/local folder. This can be done as follows:
cd l2ork_addons/ ./tar_em_up.sh -Fw (or -u) cd ../../ tar -jxf pd-l2ork-<arch>-<today's date in YYYYMMDD format>.tar.bz2 cd pd-l2ork-<arch>-<today's date in YYYYMMDD format> sudo make install
The other way would be to uninstall pd-utils and change conflicts within pd-l2ork to only conflict with that package and hope that pd-extended does not make it mandatory. Since I have no control over the last point (and Hans has indicated that he intends to make it mandatory), I see no incentive in trying to do the former. Should that change, I'll gladly look into it.
The way we're handling it in Debian is that pdsend and pdreceive are in a standalone package 'puredata-utils' and cyclist is in its own package 'cyclist'. Then 'puredata' and the next version of 'pd-extended' will "Recommend: puredata-utils cyclist" instead of including those files. I think you could easily do something similar in arch.
.hc
fk.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list