Em Wednesday 16 April 2008 19:04:27 Andreas Hermann Braml escreveu: > Hi! > > Am Mittwoch 16 April 2008 23:05:18 schrieb rafael2k: > > eae aline, > > tudo sussa? > > > > I think the first step to do is installing all the > > dependencies of cinelerra and starting compiling to see what > > fails. > > Before that, either the ./configure needs some additional > parameters or the Makefile has to be patched. With the > dependencies installed, the jpeg libraries and headers aren't > found etc. --prefix is not enough. I didn't have enough > perseverance to dig deeper, but that's what bit me, even before > starting to actually compile Cinelerra. > > But it seems Aragon has gotten past that point already; see the > other thread "Cinelerra FreeBSD port" > > > pseudoruprecht
Yeah, this is very annoying, ./configure doesn't look for libraries and headers in /usr/local/lib and /usr/local/include by default, and in FreeBSD this is mandatory, as all the ports is installed with PREFIX=/usr/local. So i've done this: $ LDFLAGS="-L/usr/local/lib/ -L/usr/include/sys" \ CFLAGS="-I/usr/local/include -I/usr/include/sys" \ ./configure --prefix=/usr/local/ --mandir=/usr/local/man/ --disable-alsa It compiles for a while untill I get in this: gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/include/sys -MT mpeg3ifo.lo -MD -MP -MF .deps/mpeg3ifo.Tpo -c mpeg3ifo.c -fPIC -DPIC -o .libs/mpeg3ifo.o In file included from mpeg3ifo.c:15: ifo.h:196: error: expected specifier-qualifier-list before '__off64_t' ifo.h:224: error: expected declaration specifiers or '...' before '__off64_t' mpeg3ifo.c: In function 'ifo_table': mpeg3ifo.c:130: error: 'ifo_t' has no member named 'pos' mpeg3ifo.c:154: error: 'ifo_t' has no member named 'pos' mpeg3ifo.c: In function 'ifo_open': mpeg3ifo.c:176: error: 'ifo_t' has no member named 'pos' mpeg3ifo.c: In function 'get_ifo_playlist': mpeg3ifo.c:350: error: 'DIR' undeclared (first use in this function) mpeg3ifo.c:350: error: (Each undeclared identifier is reported only once mpeg3ifo.c:350: error: for each function it appears in.) mpeg3ifo.c:350: error: 'dirstream' undeclared (first use in this function) mpeg3ifo.c:368: warning: assignment makes pointer from integer without a cast mpeg3ifo.c: In function 'cellplayinfo': mpeg3ifo.c:543: warning: passing argument 3 of 'program_map' from incompatible pointer type gmake[3]: ** [mpeg3ifo.lo] Erro 1 gmake[3]: Saindo do diretório `/usr/local/src/hvirtual/libmpeg3' gmake[2]: ** [all-recursive] Erro 1 gmake[2]: Saindo do diretório `/usr/local/src/hvirtual/libmpeg3' gmake[1]: ** [all-recursive] Erro 1 gmake[1]: Saindo do diretório `/usr/local/src/hvirtual' gmake: ** [all] Erro 2 -- Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org gpg --keyserver keys.indymedia.org --recv-keys DE632016
signature.asc
Description: This is a digitally signed message part.
