[Sumover-dev] [Media Tools] #63: Vic branches/mpeg4 can't find tcl.h tcl test fails on configure and fail to compile

Media Tools SUMOVER-dev at cs.ucl.ac.uk
Fri Apr 20 01:04:16 BST 2007


#63: Vic branches/mpeg4 can't find tcl.h tcl test fails on configure and fail to
compile
---------------------------------------------------+------------------------
 Reporter:  lapeyl at uwasa.fi                        |       Owner:  socrates
     Type:  defect                                 |      Status:  new     
 Priority:  minor                                  |   Milestone:          
Component:  vic                                    |     Version:          
 Keywords:  mpeg4 linux compile vic tcl configure  |  
---------------------------------------------------+------------------------
 Hi !

 Tried to compile braches/mpeg4 with paths to ucl and 8.4.14 tcl/tk:
 ./configure
 ./configure --with-tcl=../tcl-8.0/ --with-tk=/tk-8.0/
 ./configure --with-tcl=../tcl8.4.14/ --with-tk=/tk8.4.14/
 ./configure --with-ucltk=../tcl-8.0/ --with-ucltcl=../tk-8.0/
 ./configure--with-ucltk=../tcl8.4.14/ --with-ucltcl=../tk8.4.14/

 Gives me :
 checking for tcl.h
 can't find tcl.h

 Checks from with-tcl or with-ucltcl fail and goes to line 4683 to look for
 system other installed tcl

 Tcl checks are missing /generic with path to 8.4.14 tcl.

 So adding generic to line 4686 places="$PWD/../"tcl 8.4 path here"/generic
 \ gets me furter

 Named paths to tcl and tk compared to vic folder was ../tcl8.4 and tk
 ../tk8.4


 Compiling gives me error:
 swscale.c: In function ‘initFilter’:
 swscale.c:1208: error: ‘AV_LOG_VERBOSE’ undeclared (first use in this
 function)
 swscale.c: In function ‘gray16swap’:
 swscale.c:1792: warning: initialization from incompatible pointer type
 swscale.c:1793: warning: initialization from incompatible pointer type
 swscale.c: In function ‘sws_getContext’:
 swscale.c:2367: error: ‘AV_LOG_VERBOSE’ undeclared (first use in this
 function)
 swscale.c: In function ‘sws_scale’:
 swscale.c:2466: warning: assignment from incompatible pointer type
 make[1]: *** [swscale.o] Error 1
 make[1]: Leaving directory `/home/lykki2/svn/mbone8/vic/ffmpeg/libswscale'
 make: *** [ffmpeg/lib/libswscale.a] Error 2


 My system:
 fedora 6 i386 kernel 2.6.20-1.2944.fc6

 gcc -v
 Using built-in specs.
 Target: i386-redhat-linux
 Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
 --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-
 checking=release --with-system-zlib --enable-__cxa_atexit --disable-
 libunwind-exceptions --enable-libgcj-multifile --enable-
 languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
 --disable-dssi --enable-plugin --with-java-
 home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
 --host=i386-redhat-linux
 Thread model: posix
 gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)

 Lassi Ylikojola

-- 
Ticket URL: <https://mediatools.cs.ucl.ac.uk/nets/mmedia/ticket/63>
Media Tools <http://www-mice.cs.ucl.ac.uk/multimedia/software>
Media Tools


More information about the Sumover-dev mailing list