I'm looking for help with two issues:
2 -> install hangs. Everything builds and compiles so far with a pretty extensive package list. When "make install" is run it seems to always "hang" on "Makeing install in doc". <crtl-t> show that a "sed" process is hanging:
load: 0.63 cmd: sed 66389 28.69r 0.00u 0.00s 0% 1424k
ps auxwww | grep sed
/bin/sh -ec fail= failcom='exit 1'; for f in x $MAKEFLAGS; do case $f in *=* | -*);; *k*) failcom='fail=yes';; esac; done; dot_seen=no; target=`echo install-recursive | sed s/-recursive//`; list='po c python artwork man doc'; for subdir in $list; do echo "Making $target in $subdir"; if test "$subdir" = "."; then dot_seen=yes; local_target="$target-am"; else local_target="$target"; fi; (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && /usr/bin/make $local_target) || eval $failcom; done; if test "$dot_seen" = "no"; then /usr/bin/make "$target-am" || exit 1; fi; test -z "$fail"
3 -> LIBAVCODEC_LIBS and others do not seem to work. FreeBSD has a compatible ffmpeg in multimedia ffmpeg-devel. I can't find the right settings to change the configure script to use these as opposed to what it exepects to find.
e.g. PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ LIBAVCODEC_LIBS="-L/usr/local/lib/ffmpeg-devel -lavcodec-devel" LIBAVCODEC_CFLAGS="-I/usr/local/lib/ffmpeg-devel/" ./configure
yeids:
checking for LIBAVCODEC… yes
checking for avcodec_decode_audio4 in -lavcodec… no
configure: error: "configure with -disable-libav or update ffmpeg/libav"
===> Script "configure" failed unexpectedly.
Please report the problem to sbruno@FreeBSD.org and attach the
"/usr/ports/audio/idjc/work/idjc-0.8.8/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg info -g -Ea).
*** Error code 1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2013-04-28
It also appears that it doesn't understand clang? When I use the FreeBSD default compiler, I get this from configure:
checking for TWOLAME… yes
checking for pthread_create in -lpthread… yes
checking for sqrt… no
checking for sqrt, pow in -lm… no
configure: error: "math library is missing critical function"
===> Script "configure" failed unexpectedly.
Please report the problem to sbruno@FreeBSD.org and attach the
"/usr/ports/audio/idjc/work/idjc-0.8.8/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg info -g -Ea).
*** Error code 1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I recommend rebuilding the build system by running bootstrap. If you are running the git repository version this is better since it won't have any build system code in place. I recommend the git version in any event.
Clang might not be able to build idjc due to the choice of gnu98 as the standard C language but the above suggestion might work for the configure error.
You don't have a compatible ffmpeg it's probably too old. -disable-libav or use an older idjc.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2013-04-29
Yeah, looks like I need to poke at the freebsd port of ffmpeg and figure out why its not updated.
If I could get *make install* to not hang, I'd be in business I think.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2013-05-03
Ok, funny story. No not really.
I added a dependency on GNU make instead of BSD make, things worked *much* more better.
Switched to GCC instead of Clang, things worked *much* more better.
Last problem, /usr/local/bin/idcj is getting a malformed python path:
{$cat/portstest/usr/local/bin/idjc#! /usr/local/bin/python2.72.7"""idjc(.in.in): Application launcher of IDJC"""# Copyright (C) 2011-2012 Stephen Fairchild (s-fairchild@users.sourceforge.net)# This program is free software: you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation, either version 2 of the License, or# (at your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program in the file entitled COPYING.# If not, see <http://www.gnu.org/licenses/>.importlocalelocale.setlocale(locale.LC_ALL,"")importsyssys.path.insert(0,"""/usr/local/lib/python2.7/site-packages""")importidjcexit(idjc.main())}[code]AddedmostofthedependenciesIcouldsee,andIthinkIhavesomethingthatlookslikeafunctionalfreebsdport.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2013-05-03
Looks like jack needs a .jackdrc with the following:
/usr/local/bin/jackd -r -T -d oss
[code]
Not sure about the microphone yet.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hrm, sourceforge appears to have purged my user account, oh well.
I've done my first broadcast from a freebsd-current installation and everything seems to be working fine with the port. I've submitted IDJC and shout-idjc for inclusion into the freebsd ports collection and it is pending final commits.
Just checking in from the FreeBSD universe.
1 -> Fixed the IPPROTO_IPV6 nonsense in -current with http://svnweb.freebsd.org/base?view=revision&revision=250000
I'm looking for help with two issues:
2 -> install hangs. Everything builds and compiles so far with a pretty extensive package list. When "make install" is run it seems to always "hang" on "Makeing install in doc". <crtl-t> show that a "sed" process is hanging:
load: 0.63 cmd: sed 66389 28.69r 0.00u 0.00s 0% 1424k
ps auxwww | grep sed
/bin/sh -ec fail= failcom='exit 1'; for f in x $MAKEFLAGS; do case $f in *=* | -*);; *k*) failcom='fail=yes';; esac; done; dot_seen=no; target=`echo install-recursive | sed s/-recursive//`; list='po c python artwork man doc'; for subdir in $list; do echo "Making $target in $subdir"; if test "$subdir" = "."; then dot_seen=yes; local_target="$target-am"; else local_target="$target"; fi; (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && /usr/bin/make $local_target) || eval $failcom; done; if test "$dot_seen" = "no"; then /usr/bin/make "$target-am" || exit 1; fi; test -z "$fail"
3 -> LIBAVCODEC_LIBS and others do not seem to work. FreeBSD has a compatible ffmpeg in multimedia ffmpeg-devel. I can't find the right settings to change the configure script to use these as opposed to what it exepects to find.
e.g. PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ LIBAVCODEC_LIBS="-L/usr/local/lib/ffmpeg-devel -lavcodec-devel" LIBAVCODEC_CFLAGS="-I/usr/local/lib/ffmpeg-devel/" ./configure
yeids:
checking for LIBAVCODEC… yes
checking for avcodec_decode_audio4 in -lavcodec… no
configure: error: "configure with -disable-libav or update ffmpeg/libav"
===> Script "configure" failed unexpectedly.
Please report the problem to sbruno@FreeBSD.org and attach the
"/usr/ports/audio/idjc/work/idjc-0.8.8/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg info -g -Ea).
*** Error code 1
It also appears that it doesn't understand clang? When I use the FreeBSD default compiler, I get this from configure:
checking for TWOLAME… yes
checking for pthread_create in -lpthread… yes
checking for sqrt… no
checking for sqrt, pow in -lm… no
configure: error: "math library is missing critical function"
===> Script "configure" failed unexpectedly.
Please report the problem to sbruno@FreeBSD.org and attach the
"/usr/ports/audio/idjc/work/idjc-0.8.8/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg info -g -Ea).
*** Error code 1
I've dropped the ports files here:
http://people.freebsd.org/~sbruno/idjc/
http://people.freebsd.org/~sbruno/shout-idjc/
I recommend rebuilding the build system by running bootstrap. If you are running the git repository version this is better since it won't have any build system code in place. I recommend the git version in any event.
Clang might not be able to build idjc due to the choice of gnu98 as the standard C language but the above suggestion might work for the configure error.
You don't have a compatible ffmpeg it's probably too old. -disable-libav or use an older idjc.
Yeah, looks like I need to poke at the freebsd port of ffmpeg and figure out why its not updated.
If I could get *make install* to not hang, I'd be in business I think.
Ok, funny story. No not really.
I added a dependency on GNU make instead of BSD make, things worked *much* more better.
Switched to GCC instead of Clang, things worked *much* more better.
Updated the ports files at:
http://people.freebsd.org/~sbruno/idjc/
http://people.freebsd.org/~sbruno/shout-idjc/
Last problem, /usr/local/bin/idcj is getting a malformed python path:
Looks like jack needs a .jackdrc with the following:
Hrm, sourceforge appears to have purged my user account, oh well.
I've done my first broadcast from a freebsd-current installation and everything seems to be working fine with the port. I've submitted IDJC and shout-idjc for inclusion into the freebsd ports collection and it is pending final commits.
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/188660
Allrighty, audio/idjc and audio/shout-idjc are now in the FreeBSD tree. :-) And they even work!