Icescc will not install

Read 17945 times
I'm trying to add the icescc library and cannot get it to install.

I get the following error:
nanohttp.c: In function 'xmlNanoHTTPSave':
nanohttp.c:1193:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result
nanohttp.c: In function 'xmlNanoHTTPFetch':
nanohttp.c:1156:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result
In file included from /usr/include/fcntl.h:252:0,
                 from nanohttp.c:47:
In function 'open',
    inlined from 'xmlNanoHTTPSave' at nanohttp.c:1185:12:
/usr/include/bits/fcntl2.h:51:24: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [nanohttp.lo] Error 1
make[2]: Leaving directory `/usr/local/src/ices/libxml-1.8.17'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ices/libxml-1.8.17'
make: *** [all-recursive-am] Error 2
Make failed for libxml.tar.gz; aborting
Installer exited with error, aborting

The error seems to be a result of calls to gcc.

I'm running Ubuntu 11.04 x86-64
GCC Version 4.5.2

root@274320:/usr/local/centovacast/sbin# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.5 --enable-shared --enable-multiarch --with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib/x86_64-linux-gnu --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib/x86_64-linux-gnu --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)

Is anyone else seeing this? if so how do I fix it?
I have not seen this on any install, but then again I have not installed it on Ubuntu as it is not an offically supported operating system of Centova Cast (Centos/RHEL/Debian are the Official OS supported) but you should not have a problem with Ubuntu.

I would suggest this is possibly to do with the Ubuntu Kernel you are using, although I cannot confirm this.
ive just come across the same error while its trying to compile libxml for V3, it has worked on ubuntu 10.X before so will try that OS version....

EDIT:

had no luck on ubuntu so using CentOS and it worked fine... i really dislike this OS "yum install ANYTHING-USEFUL" just dosnt work :( please add ubuntu support, its becoming the default OS for alot of things, and is only getting used more and more.... cus it rocks...
Last Edit: April 19, 2012, 03:36:45 pm by KL Web Consultants
Paul from KL Web Consultants KL Web Consultant
http://www.centova.com/pages/icescc

Cheese Louise, guys, the answer is on your own web site.

First of all, Ubuntu is a Debian-based distro, so there's no excuse for not support it since you support Debian.

Second, here's the precompiled icescc, with the special tweaks Centova needs.  Right from your own site.

 ::)

http://www.centova.com/pages/icescc

Cheese Louise, guys, the answer is on your own web site.
Due to patent concerns that will be disappearing soon, thus the reason we don't push it at the moment.

First of all, Ubuntu is a Debian-based distro, so there's no excuse for not support it since you support Debian.
First of all, if Ubuntu were similar in all respects to Debian, ices would compile just as well on Ubuntu as it does on Debian.  Just because it's based on Debian doesn't mean they use the same library and/or gcc revisions as Debian, so this is a rather weak argument.

Second, Centova Cast most likely works just fine under Ubuntu (not tested, but no reason it shouldn't).  ices is not our product, and ices is the package that doesn't compile under Ubuntu due to some sort of library compatibility issue... so this doesn't have anything directly to do with CC. :)
Still an active bug, although it looks like it is a WontFix judging by the replies above.  Confirmed on Ubuntu 10.04 and 12.04.

Workaround on 10.04(Not tested on 12.04, may work)
 1. Working in /root, download the build script from http://www.centova.com/pages/icescc

wget http://www.centova.com/clientdist/ices/buildices-1.1.2.tar.gz

2. Extract it:

tar -xvsf buildices-1.1.2.tar.gz

3. Enter the Directory:

cd buildices-1.1.2

4. Run Build Script:

./buildices.sh --proceed

5. Add the finished module to CentovaCast:

/usr/local/centovacast/sbin/enable_package icescc /usr/local/ices/bin/ices

NOTE:  These are exact commands on a bare install on Ubuntu 10.04.  Version numbers may change.  Exercise common sense!
An addition to this issue:

My order of events was:
1. Install the sever and other modules
2. Attempt to install ices-cc
3. Build as described above
4. Activate as described above

Now, upon running:

/usr/local/centovacast/sbin/update

It attempts to rebuild ices-cc(failing) every time.

I will conduct further testing, to see if building as described above prevents this(clean install and not trying to use the integrated method to build ices-cc)
Still an active bug, although it looks like it is a WontFix judging by the replies above.  Confirmed on Ubuntu 10.04 and 12.04.
First, per my earlier comments in this thread, it's not so much a "WontFix" as it is a case of "using a third-party product (not ours) on an OS we explicitly don't support"'.  Second, it's not a bug, but rather the result of using a newer compiler than the bundled libxml was designed to work with.

That said, we changed Centova Cast and buildices to use libxml2 back in June (when the problem resurfaced under CentOS 6 which uses a similarly modern gcc) which should have resolved it on all platforms.  So I suspect jdownj is resurrecting an old thread without actually updating to the latest Centova Cast build first.
Steve, that was a current build as of that day.  I wound up putting that license I was testing with into production on CC2, but I see that a bunch of new builds have happened since I posted that, so I will pick up another license and give it some more testing.
First on installation automated process:

collect2: error: ld returned 1 exit status
make[2]: ** [decoder_example] Erro 1
make[2]: Saindo do diretório `/usr/local/src/ices/libvorbis-1.1.2/examples'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/usr/local/src/ices/libvorbis-1.1.2'
make: ** [all] Erro 2
Make failed for libvorbis.tar.gz; aborting
Installer exited with error, aborting


===== Installation Complete ==============================================

To complete your installation, please launch the web interface at:
http://127.0.0.1Make failed for libvorbis.tar.gz; aborting

NOTE:

- icescc did not install successfully and will NOT be available for use
  To try again, run: /usr/local/centovacast/sbin/update --add icescc

Thank you for using Centova Cast.

Tryed on: Weezy, Lenny and Squeeze

make[2]: Entering directory `/usr/local/src/ices/libvorbis-1.1.2/examples'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include      -O20 -ffast-math -D_REENTRANT -fsigned-char -I/usr/local/ices//include -L/usr/local/ices//lib -DUSE_MEMORY_H -MT decoder_example.o -MD -MP -MF ".deps/decoder_example.Tpo" -c -o decoder_example.o decoder_example.c; \
        then mv -f ".deps/decoder_example.Tpo" ".deps/decoder_example.Po"; else rm -f ".deps/decoder_example.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link gcc  -O20 -ffast-math -D_REENTRANT -fsigned-char -I/usr/local/ices//include -L/usr/local/ices//lib -DUSE_MEMORY_H  -static -I/usr/local/ices//include -L/usr/local/ices//lib -o decoder_example  decoder_example.o ../lib/libvorbis.la  -Wl,-Bstatic
mkdir .libs
gcc -O20 -ffast-math -D_REENTRANT -fsigned-char -I/usr/local/ices//include -DUSE_MEMORY_H -I/usr/local/ices//include -o decoder_example decoder_example.o -Wl,-Bstatic  -L/usr/local/ices//lib ../lib/.libs/libvorbis.a /usr/local/ices//lib/libogg.a -lm
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make[2]: *** [decoder_example] Error 1
make[2]: Leaving directory `/usr/local/src/ices/libvorbis-1.1.2/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ices/libvorbis-1.1.2'
make: *** [all] Error 2
Make failed for libvorbis.tar.gz; aborting

Latest instalation on lenny with centova 2 no problems compilation all deps right.

So i try download the sources and compile by my self.

apt-get build-dep ices2
apt-get install libxml2-dev python-dev libflac-dev libmp3lame-dev libshout3-dev libvorbis-dev libperl-dev

root@stmc:~/ices-cc-0.4.2# ./configure
Features:
  XML     : yes
  Python  : yes
  Perl    : yes
  LAME    : yes
  Vorbis  : yes
  MP4     : no
  FLAC    : yes

only missing mp4 not debian package i don´t no no have any binary to check with ldd. i don´t intends to use mp4. Only mp3 maybe OGG but FLAC can be apreciated. AAC+ but now i trying make basic compilation. No sucess.