Note:

rdaudioconvert.cpp:982: error: 'FLAC__STREAM_ENCODER_INIT_STATUS_OK' was not declared in this scope

Is there a flac-devel package you need?


Rob


On Mon, 22 Aug 2011, Bruce Lee Mones wrote:

Hello,

I am trying to install Rivendell on CentOS 5.6 x86_64

1. Installed additional repositories:
     - epel-release-5-4.noarch.rpm (x86_64)
     - rpmfusion-free-release-5-0.1.noarch.rpm (x86_64)
     - rpmfusion-nonfree-release-5-0.1.noarch.rpm (x86_64)
2. Installed the deps:
     - mysql-server
     - kernel-devel
     - gcc-c++
     - qt qt-devel qt-MySQL qt4 qt4-devel qt4-mysql
     - libtool
     - libmad
     - libao
     - libsamplerate
     - cdparanoia
     - sox
     - flac
     - id3lib
     - libid3tag
     - libXmu
     - mpg321 (compiled from source)
     - alsa-lib
     - jack-audio-connection-kit
     - libogg libvorbis
     - pam-devel
     - httpd (I assume this is the apache2?)
     - cdda2wav
     - curl
     - soundtouch (compiled from source)
     - lame
     - madplay
     - twolame
3. downloaded v2.0.2
4. ./autogen.sh
5. ./configure --disable-hpi

configure:
configure: "|-----------------------------------------------------|"
configure: "|       *** RIVENDELL CONFIGURATION SUMMARY ***       |"
configure: "|-----------------------------------------------------|"
configure: "| Configured Audio Drivers:                           |"
configure: "|  Advanced Linux Sound Architecture (ALSA) ... Yes   |"
configure: "|                          AudioScience HPI ... No    |"
configure: "|                 JACK Audio Connection Kit ... Yes   |"
configure: "|                                                     |"
configure: "| Audio Codecs:                                       |"
configure: "|            FLAC Encoding/Decoding Support ... Yes   |"
configure: "|                     MPEG Decoding Support ... Yes   |"
configure: "|             MPEG Layer 2 Encoding Support ... Yes   |"
configure: "|             MPEG Layer 3 Encoding Support ... Yes   |"
configure: "|       OggVorbis Encoding/Decoding Support ... Yes   |"
configure: "|                                                     |"
configure: "| Optional Components:                                |"
configure: "|           Rivendell PAM pam_rd.so Support ... Yes   |"
configure: "|-----------------------------------------------------|"
configure:
configure:
configure: Now enter 'make' to build the software.
configure:
[rduser@rdmainserver rivendell-2.0.2]$

6. But make gave me the following:

Making all in icons
make[1]: Entering directory `/home/rduser/rivendell-2.0.2/icons'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/rduser/rivendell-2.0.2/icons'
Making all in helpers
make[1]: Entering directory `/home/rduser/rivendell-2.0.2/helpers'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/rduser/rivendell-2.0.2/helpers'
Making all in lib
make[1]: Entering directory `/home/rduser/rivendell-2.0.2/lib'
if /bin/sh ../libtool --tag=CXX --mode=compile g++
-DPACKAGE_NAME=\"rivendell\" -DPACKAGE_TARNAME=\"rivendell\"
-DPACKAGE_VERSION=\"\`cat\ PACKAGE_VERSION\`\" -DPACKAGE_STRING=\"rivendell\
\`cat\ PACKAGE_VERSION\`\" -DPACKAGE_BUGREPORT=\"Fred\ Gleason\
\<[email protected]\>\" -DPACKAGE=\"rivendell\" -DVERSION=\"2.0.2\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_VORBIS=1
-DHAVE_FLAC=1 -DHAVE_MAD=1 -DHAVE_TWOLAME=1 -DHAVE_LAME=1 -DJACK=yes
-DALSA=yes -DSRC=yes -DHAVE_FLAC_METADATA=yes
-DHAVE_SECURITY_PAM_MODULES_H=1 -DHAVE_SECURITY__PAM_MACROS_H=1  -I. -I. 
-Wall -DPREFIX=\"/usr/local\" -I/usr/lib64/qt-3.3/include
-DQT_THREAD_SUPPORT   -g -O2 -MT rdaudioconvert.lo -MD -MP -MF
".deps/rdaudioconvert.Tpo" -c -o rdaudioconvert.lo rdaudioconvert.cpp; \
        then mv -f ".deps/rdaudioconvert.Tpo" ".deps/rdaudioconvert.Plo";
else rm -f ".deps/rdaudioconvert.Tpo"; exit 1; fi
 g++ -DPACKAGE_NAME=\"rivendell\" -DPACKAGE_TARNAME=\"rivendell\"
"-DPACKAGE_VERSION=\"\`cat PACKAGE_VERSION\`\""
"-DPACKAGE_STRING=\"rivendell \`cat PACKAGE_VERSION\`\""
"-DPACKAGE_BUGREPORT=\"Fred Gleason <[email protected]>\""
-DPACKAGE=\"rivendell\" -DVERSION=\"2.0.2\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_VORBIS=1 -DHAVE_FLAC=1
-DHAVE_MAD=1 -DHAVE_TWOLAME=1 -DHAVE_LAME=1 -DJACK=yes -DALSA=yes -DSRC=yes
-DHAVE_FLAC_METADATA=yes -DHAVE_SECURITY_PAM_MODULES_H=1
-DHAVE_SECURITY__PAM_MACROS_H=1 -I. -I. -Wall -DPREFIX=\"/usr/local\"
-I/usr/lib64/qt-3.3/include -DQT_THREAD_SUPPORT -g -O2 -MT rdaudioconvert.lo
-MD -MP -MF .deps/rdaudioconvert.Tpo -c rdaudioconvert.cpp  -fPIC -DPIC -o
.libs/rdaudioconvert.o
/usr/lib64/qt-3.3/include/qsqldatabase.h:63: warning: 'class
QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
rdaudioconvert.cpp: In member function 'RDAudioConvert::ErrorCode
RDAudioConvert::Stage1Vorbis(const QString&, RDWaveFile*)':
rdaudioconvert.cpp:412: warning: converting to 'sf_count_t' from 'double'
rdaudioconvert.cpp:415: warning: converting to 'sf_count_t' from 'double'
rdaudioconvert.cpp: In member function 'RDAudioConvert::ErrorCode
RDAudioConvert::Stage1Mpeg(const QString&, RDWaveFile*)':
rdaudioconvert.cpp:564: warning: converting to 'sf_count_t' from 'double'
rdaudioconvert.cpp:567: warning: converting to 'sf_count_t' from 'double'
rdaudioconvert.cpp: In member function 'RDAudioConvert::ErrorCode
RDAudioConvert::Stage1SndFile(const QString&, SNDFILE*, SF_INFO*)':
rdaudioconvert.cpp:677: warning: passing 'double' for argument 2 to
'sf_count_t sf_seek(SNDFILE*, sf_count_t, int)'
rdaudioconvert.cpp:680: warning: converting to 'sf_count_t' from 'double'
rdaudioconvert.cpp: In member function 'RDAudioConvert::ErrorCode
RDAudioConvert::Stage2Convert(const QString&, const QString&)':
rdaudioconvert.cpp:888: warning: possible problem detected in invocation of
delete operator:
rdaudioconvert.cpp:705: warning: 'src_state' has incomplete type
/usr/include/samplerate.h:33: warning: forward declaration of 'struct
SRC_STATE_tag'
rdaudioconvert.cpp:888: note: neither the destructor nor the class-specific
operator delete will be called, even if they are declared when the class is
defined.
rdaudioconvert.cpp:712: warning: unused variable 'max_chans'
rdaudioconvert.cpp: In member function 'RDAudioConvert::ErrorCode
RDAudioConvert::Stage3Flac(SNDFILE*, SF_INFO*, const QString&)':
rdaudioconvert.cpp:981: error: no matching function for call to
'FLAC::Encoder::File::init(const char*)'
/usr/include/FLAC++/encoder.h:354: note: candidates are:
FLAC::Encoder::File::State FLAC::Encoder::File::init()
rdaudioconvert.cpp:982: error: 'FLAC__STREAM_ENCODER_INIT_STATUS_OK' was not
declared in this scope
rdaudioconvert.cpp:985: error:
'FLAC__STREAM_ENCODER_INIT_STATUS_INVALID_NUMBER_OF_CHANNELS' was not
declared in this scope
rdaudioconvert.cpp:986: error:
'FLAC__STREAM_ENCODER_INIT_STATUS_INVALID_BITS_PER_SAMPLE' was not declared
in this scope
rdaudioconvert.cpp:987: error:
'FLAC__STREAM_ENCODER_INIT_STATUS_INVALID_SAMPLE_RATE' was not declared in
this scope
rdaudioconvert.cpp:991: error:
'FLAC__STREAM_ENCODER_INIT_STATUS_ENCODER_ERROR' was not declared in this
scope
rdaudioconvert.cpp:992: error:
'FLAC__STREAM_ENCODER_INIT_STATUS_UNSUPPORTED_CONTAINER' was not declared in
this scope
rdaudioconvert.cpp:993: error:
'FLAC__STREAM_ENCODER_INIT_STATUS_INVALID_MAX_LPC_ORDER' was not declared in
this scope
rdaudioconvert.cpp:994: error:
'FLAC__STREAM_ENCODER_INIT_STATUS_INVALID_QLP_COEFF_PRECISION' was not
declared in this scope
rdaudioconvert.cpp:995: error:
'FLAC__STREAM_ENCODER_INIT_STATUS_BLOCK_SIZE_TOO_SMALL_FOR_LPC_ORDER' was
not declared in this scope
rdaudioconvert.cpp:996: error:
'FLAC__STREAM_ENCODER_INIT_STATUS_NOT_STREAMABLE' was not declared in this
scope
rdaudioconvert.cpp:997: error:
'FLAC__STREAM_ENCODER_INIT_STATUS_INVALID_METADATA' was not declared in this
scope
rdaudioconvert.cpp:951: warning: unused variable 'dst_fd'
rdaudioconvert.cpp: In member function 'RDAudioConvert::ErrorCode
RDAudioConvert::Stage3Vorbis(SNDFILE*, SF_INFO*, const QString&)':
rdaudioconvert.cpp:1095: warning: comparison between signed and unsigned
integer expressions
rdaudioconvert.cpp:1039: warning: unused variable 'ogg_eos_packet'
rdaudioconvert.cpp: In member function 'RDAudioConvert::ErrorCode
RDAudioConvert::Stage3Layer2(SNDFILE*, SF_INFO*, const QString&)':
rdaudioconvert.cpp:1371: warning: unused variable 'sf_buffer'
rdaudioconvert.cpp: In member function 'RDAudioConvert::ErrorCode
RDAudioConvert::Stage3Pcm16(SNDFILE*, SF_INFO*, const QString&)':
rdaudioconvert.cpp:1486: warning: passing 'double' for argument 1 to 'void
RDWaveFile::setCartLevelRef(unsigned int)'
rdaudioconvert.cpp: In member function 'bool RDAudioConvert::LoadMad()':
rdaudioconvert.cpp:1588: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1590: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1592: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1594: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1596: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1598: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1600: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1602: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp: In member function 'bool RDAudioConvert::LoadTwoLame()':
rdaudioconvert.cpp:1617: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1618: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1619: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1621: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1623: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1625: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1627: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1629: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1630: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1632: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1634: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp: In member function 'bool RDAudioConvert::LoadLame()':
rdaudioconvert.cpp:1649: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1650: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1652: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1654: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1656: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1658: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1659: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1660: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1661: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1663: warning: dereferencing type-punned pointer will
break strict-aliasing rules
rdaudioconvert.cpp:1665: warning: dereferencing type-punned pointer will
break strict-aliasing rules
make[1]: *** [rdaudioconvert.lo] Error 1
make[1]: Leaving directory `/home/rduser/rivendell-2.0.2/lib'
make: *** [all-recursive] Error 1
[root@rdmainserver rivendell-2.0.2]#


Please advise where I got astray and please point me to the right direction
on how to install Rivendell 2.0.2 on CentOS 5.6 x86_64 machine.


Regards to all;


_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to