LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-19-2010, 05:34 PM   #1
falmdavis
Member
 
Registered: Jul 2010
Posts: 56

Rep: Reputation: 15
Question Building Cinelerra-CV from git repository - syntax error


New installation of Suse 11.3. Trying to build Cinelerra-CV from http://www.cinelerra.org/

Quote:
The source code of Cinelerra-CV is available from a git repository. To get a copy for compilation use the following command

git clone git://git.cinelerra.org/j6t/cinelerra.git my_cinelerra

You can modify this working copy, and submit your patches to the mailing list, or ask for your own repo or for permission to push to one of the existing ones.
From the README.BUILD file, you are told to build autoreconf -i. This gives an error:

Code:
autoreconf -i
autopoint: File m4/gettext.m4 has been locally modified.
autopoint: File po/Makefile.in.in has been locally modified.
autopoint: *** Some files have been locally modified. Not overwriting them because --force has not been specified. For your convenience, you find the local modifications in the file '/tmp/armLWFEY/gtOZ8WtA/autopoint.diff'.
autopoint: *** Stop.
autoreconf: autopoint failed with exit status: 1
Running autoreconf with the "force" option works:

Code:
autoreconf -if
 autoreconf -if
Copying file ABOUT-NLS
Copying file config.rpath
Copying file m4/gettext.m4
Copying file mkinstalldirs
Copying file po/Makefile.in.in
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
configure.in:3: installing `./config.guess'
configure.in:3: installing `./config.sub'
configure.in:8: installing `./install-sh'
configure.in:8: installing `./missing'
cinelerra/Makefile.am:1: shell date: non-POSIX variable name
cinelerra/Makefile.am:1: (probably a GNU make extension)
cinelerra/Makefile.am:21: shell if [ -d $(top_srcdir: non-POSIX variable name
cinelerra/Makefile.am:21: (probably a GNU make extension)
cinelerra/Makefile.am:27: shell if [ -d $(top_srcdir: non-POSIX variable name
cinelerra/Makefile.am:27: (probably a GNU make extension)
cinelerra/Makefile.am: installing `./depcomp'
After running ./configure, and then make, there are errors:

Code:
make
...
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I./.. -DHAVE_MMX -DUSE_MMX -DX86_CPU -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT vlc.lo -MD -MP -MF .deps/vlc.Tpo -c vlc.c  -fPIC -DPIC -o .libs/vlc.o
mv -f .deps/vlc.Tpo .deps/vlc.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile ../../admin/nasm -DHAVE_CONFIG_H -I. -I../.. -I./..    -g -O2 -MT mmxidct.lo -MD -MP -MF .deps/mmxidct.Tpo -c -o mmxidct.lo mmxidct.S
libtool: compile:  ../../admin/nasm -DHAVE_CONFIG_H -I. -I../.. -I./.. -g -O2 -MT mmxidct.lo -MD -MP -MF .deps/mmxidct.Tpo -c mmxidct.S  -fPIC -DPIC -o .libs/mmxidct.o
\1 better written as $1 at ../../admin/nasm line 12.
Final $ should be \$ or $name at ../../admin/nasm line 32, near "$
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# Name of the PIC object.
"
syntax error at ../../admin/nasm line 35, near """
  (Might be a runaway multi-line "" string starting on line 27)
Execution of ../../admin/nasm aborted due to compilation errors.
make[3]: *** [mmxidct.lo] Error 1
make[3]: Leaving directory `/home/centaurus/linux/apps/cinelerra_cv/libmpeg3/video'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/centaurus/linux/apps/cinelerra_cv/libmpeg3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/centaurus/linux/apps/cinelerra_cv'
make: *** [all] Error 2
 
Old 07-19-2010, 05:59 PM   #2
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,762

Rep: Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466
You could look and how Arch and Gentoo are building it. I've noticed that both apply many patches.

http://repos.archlinux.org/wsvn/comm...erra-cv/trunk/
http://sources.gentoo.org/cgi-bin/vi...deo/cinelerra/
 
1 members found this post helpful.
Old 07-19-2010, 06:05 PM   #3
falmdavis
Member
 
Registered: Jul 2010
Posts: 56

Original Poster
Rep: Reputation: 15
Quote:
Fixing build with gcc 4.5

http://bugs.gentoo.org/show_bug.cgi?id=317991

Patch written by Kacper Kowalik <xarthisius.kk@gmail.com>

--- cinelerra/edits.C
+++ cinelerra/edits.C
@@ -47,7 +47,7 @@
this->edl = edl;
this->track = track;

- List<Edit>::List<Edit>();
+ List<Edit>();
default_edit->edl = edl;
default_edit->track = track;
default_edit->startproject = 0;
This is from the Arch patches for Cinelerra-CV mentioned by dugan. Can someone explain the C++ differences for the List<Edit>::List<Edit>();?
I'll take a look at the patches and see if that will help to build it.

Edit:
The syntax error was from a file not being built, which could mean that there is an error in the Makefile, which I was able to fix as in this web page:

http://www.linuxjournal.com/content/cinelerracv-project

Quote:
The compiler reported the following issue :

ar: .libs/reconmmx.o: No such file or directory

Thanks to Google I discovered this solution :

cd $HOME/src/my_cinelerra/libmpeg3/video
nasm -f elf reconmmx.s -o reconmmx.o
cp reconmmx.o .libs/reconmmx.o
Did not have the other errors in that web page on cinelerra. After applying the patch from the Arch site, by editing the file "cinelerra/edits.C" it built.

Now, I would like to run cinelerra without installing it, by giving the full path name to see that it runs. From a previous installation of Cinelerra, I remember that it had to have superuser privileges. Is that still the way it runs?

Last edited by falmdavis; 07-19-2010 at 06:27 PM.
 
Old 07-19-2010, 07:17 PM   #4
falmdavis
Member
 
Registered: Jul 2010
Posts: 56

Original Poster
Rep: Reputation: 15
Cinelerra-CV runs

Cinelerra-CV did run after building it, installing it, and running the update library path command:

ldconfig

It would be good to know the reasons for the compile errors.
 
  


Reply

Tags
cinelerra, git


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GIT: My remote repository moved. How do I tell my local repo to use the new one? BrianK Programming 3 01-20-2010 11:30 PM
LXer: Qt Publishes Roadmap, Opens Up Git Repository LXer Syndicated Linux News 1 05-12-2009 12:40 PM
configuring git public repository geetha_sg Linux - General 0 09-11-2008 11:30 PM
Linux git repository help needed TheDirtyScreech Linux - General 13 08-09-2007 09:56 AM


All times are GMT -5. The time now is 05:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration