LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2004, 02:21 PM   #16
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33

Quote:
Makefile:603: *** missing separator. Stop.
Yep, this happened to me too (but on a different line). What happened is the Makefile was generated incorrectly and doesn't have a tab character on line 603. What you need to do is edit Makefile, jump to line 603, delete the spaces at the start of the line, and put a tab character in there. You might have to do this more than once (I do it for the first line it mentions, and any other lines for the same target).

If you're not sure whether your editor will use tab characters, use these commands (type exactly as they are here, enter after each line):
vim Makefile
:set noexpandtab
603g
<<>>
:wq

No offense meant if you already know how to use vim
 
Old 12-17-2004, 04:50 PM   #17
arion
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 8
Posts: 26

Original Poster
Rep: Reputation: 15
I managed to install faad2 already by using gedit to modify the Makefile. I tried using vim as well (no offense taken cause I don't know how to use it) but after I enter the first line, the whole Makefile opened in the terminal. So, I have no idea where I'm supposed to enter the rest of the lines and I don't know how to get back to the command line (control-C didn't work)...This is not important as I installed faad2 already but I'd just like to know...

Anyway, I continued by installing the xmms plugin that came with faad2 and this is what I encountered:

[root@localhost xmms]# autoreconf -vfs && configure
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
/usr/local/share/aclocal/sdl.m4:11: warning: underquoted definition of AM_PATH_SDL
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/a...ding%20aclocal
autoreconf: configure.in: tracing
autoreconf: configure.in: not running libtoolize: --install not given
autoreconf: running: /usr/local/bin/autoconf --force
autoreconf: configure.in: not using Autoheader
autoreconf: running: automake --force-missing
Makefile.am: required file `./COPYING' not found
autoreconf: automake failed with exit status: 1
[root@localhost xmms]#

A problem with automake?

Anyway, I ignored that and continued with installing faac but another problem came up:

[root@localhost faac]# ./bootstrap
bash: ./bootstrap: Permission denied
[root@localhost faac]#

Huh? I'm running as root...
 
Old 12-17-2004, 05:02 PM   #18
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Quote:
Makefile.am: required file `./COPYING' not found
autoreconf: automake failed with exit status: 1
Hmm.. it's expecting a file called COPYING, but not finding it. COPYING is almost certainly not important, so just create it with "touch COPYING" and try again.

As for the permission denied error - the file probably didn't have execute permissions on it - you would see that error even as root if that were the case. I think when the previous step completes successfully, it will add the execute permissions for you (sort of a safety feature).
 
Old 12-18-2004, 03:23 AM   #19
arion
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 8
Posts: 26

Original Poster
Rep: Reputation: 15
I used "touch COPYING" and I got this:

[root@localhost xmms]# autoreconf -vfs && configure
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
/usr/local/share/aclocal/sdl.m4:11: warning: underquoted definition of AM_PATH_SDL
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/a...ding%20aclocal
autoreconf: configure.in: tracing
autoreconf: configure.in: not running libtoolize: --install not given
autoreconf: running: /usr/local/bin/autoconf --force
autoreconf: configure.in: not using Autoheader
autoreconf: running: automake --force-missing
autoreconf: Leaving directory `.'
bash: configure: command not found
[root@localhost xmms]#

The INSTALL file just says that I need to run:

to install the mp4/aac plugin run :
- autoreconf -vfs && configure
and install as root with :
- make install-strip

And when I tried 'make install-strip', I got:

[root@localhost xmms]# make install-strip
make: *** No rule to make target `install-strip'. Stop.
[root@localhost xmms]#

I'm guessing that the 'autoreconf -vfs && configure' command didn't work properly. Please remember that this is for the xmms plugin for FAAD2...Not the actual (basic)FAAD2...I got that part settled. Did you install the plugin too? Or is it not necessary?

And about FAAC, did you get that error? I downloaded it from www.audiocoding.com as well. Since FAAD2 and FAAC are both two different things, I doubt that completing the previous step will add the execute permissions for me...Or will it?
 
Old 12-18-2004, 03:25 AM   #20
arion
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 8
Posts: 26

Original Poster
Rep: Reputation: 15
Just so you can refer easily, the INSTALL file in FAAC is:

General FAAC compiling instructions

1. Make sure you have autoconf, automake and libtool installed.
For MP4 support, you must have libmp4v2 (included in faad2) installed.
2. cd to FAAC source dir
3. Run:
./bootstrap
./configure
make
make install

I already have autoconf, automake and libtool...
 
Old 12-18-2004, 03:18 PM   #21
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Try ./configure instead of just configure. I think the instructions steered you wrong a little there. No need to do the autoreconf part again - it looks like that completed ok.
 
Old 12-19-2004, 11:06 AM   #22
arion
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 8
Posts: 26

Original Poster
Rep: Reputation: 15
For FAAD2 (xmms plugin):
If autoreconf is completed, why can't I run 'make install-strip'?

For FAAC:
Do I solve the execute permissions problem by installing the xmms plugin correctly?

And when you said try ./configure, which file is that for? I'm a little confused...sorry...
 
Old 12-19-2004, 02:44 PM   #23
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Quote:
[root@localhost xmms]# autoreconf -vfs && configure
The double ampersand is used to give two commands on the same command line. && means if the first command completed without errors, then run the second.
Quote:
....
autoreconf: running: automake --force-missing
autoreconf: Leaving directory `.'
bash: configure: command not found
and here, as you can see, autoreconf finished its work, but then bash gave the error that it couldn't find configure. Go to this xmms directory, and run ./configure instead.

As for the problem with FAAC, try running "autoreconf -vif" in that directory first. This fixed the permissions on my scripts automatically.
 
Old 12-20-2004, 11:06 AM   #24
arion
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 8
Posts: 26

Original Poster
Rep: Reputation: 15
FAAD2:
Ok, I ran ./configure and I got this error: "*** id3lib headers support not installed or not found". When I ran ./configure again after I downloaded and installed id3lib, I got this:

checking for xmms-config... no
./configure: line 19199: error:: command not found
checking for MP4Create in -lmp4v2... yes
./configure: line 1: xmms-config: command not found
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking id3.h usability... yes
checking id3.h presence... yes
checking for id3.h... yes
checking faad.h usability... yes
checking faad.h presence... yes
checking for faad.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands

-------==========MP4 & MPEG2/4-AAC decoder configured===========------
CFLAGS:
CXXFLAGS: -g -O2
./configure: line 1: xmms-config: command not found
install-dir =

[root@localhost xmms]#

That was just the last part. So, I'm missing something again?

FAAC:
After I ran "autoreconf -vif", all I did was ./configure, make, make install. Is that right? Do I have to run bootstrap? Cause it installed without a hitch with those 3 commands...


Anyway, I'm planning to use mp4live. So that means that I need to install V4L2 right? Did you install that? Cause I'm not sure whether I downloaded the right file. I have "videodevX-20030626.tgz" from http://www.thedirks.org/v4l2/.

Besides that, do I have to install both ffmpeg and xvidcore? Or do I choose either one? I have:

ffmpeg-0.4.9-pre1.tar
xvidcore-1.0.3.tar

Xvidcore installed properly but I have some problems with ffmpeg...Will post details after you reply to the questions above. Thanks!
 
Old 12-20-2004, 03:12 PM   #25
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Quote:
That was just the last part. So, I'm missing something again?
I've never done this for xmms, so I'm only guessing, but it might be because you didn't compile xmms from source (?) It seems to be looking for an xmms-config tool, which might not have been included with your package. Look for other xmms relevant packages, or try building it from source instead.

Quote:
all I did was ./configure, make, make install. Is that right? Do I have to run bootstrap?
I have a feeling that configure runs bootstrap automatically in that package, so it should be fine.

As for your other questions - sorry, I have no idea. I only installed these packages to get mpeg4ip running (trying to re-encode some files as streaming mpeg4).
 
Old 12-20-2004, 03:55 PM   #26
arion
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 8
Posts: 26

Original Poster
Rep: Reputation: 15
Ok then...Thanks a lot for your help, CroMagnon! Appreciate it!
 
Old 12-22-2004, 01:08 PM   #27
arion
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 8
Posts: 26

Original Poster
Rep: Reputation: 15
Hi,

Got stuck yet again...I thought that I could 'make' Mpeg4ip without any other problems but...

[root@localhost mpeg4ip-1.2]# make
make all-recursive
make[1]: Entering directory `/usr/final/mpeg4ip-1.2'
Making all in include
make[2]: Entering directory `/usr/final/mpeg4ip-1.2/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/final/mpeg4ip-1.2/include'
Making all in lib
make[2]: Entering directory `/usr/final/mpeg4ip-1.2/lib'
Making all in utils
make[3]: Entering directory `/usr/final/mpeg4ip-1.2/lib/utils'
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -D_REENTRANT -fexceptions -Wall -Werror -Wmissing-prototypes -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -g -O2 -DUSE_MMX -DMPEG4IP -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT -MT config_opts.lo -MD -MP -MF ".deps/config_opts.Tpo" -c -o config_opts.lo config_opts.cpp; \
then mv -f ".deps/config_opts.Tpo" ".deps/config_opts.Plo"; else rm -f ".deps/config_opts.Tpo"; exit 1; fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -D_REENTRANT -fexceptions -Wall -Werror -Wmissing-prototypes -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -g -O2 -DUSE_MMX -DMPEG4IP -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT -MT config_opts.lo -MD -MP -MF .deps/config_opts.Tpo -c config_opts.cpp -fPIC -DPIC -o .libs/config_opts.o
cc1plus: changing search order for system directory "/usr/local/include"
cc1plus: as it has already been specified as a non-system directory
make[3]: *** [config_opts.lo] Error 1
make[3]: Leaving directory `/usr/final/mpeg4ip-1.2/lib/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/final/mpeg4ip-1.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/final/mpeg4ip-1.2'
make: *** [all] Error 2
[root@localhost mpeg4ip-1.2]#

Is the error here caused by cc1plus? And how do I solve it?
 
Old 12-22-2004, 01:21 PM   #28
arion
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 8
Posts: 26

Original Poster
Rep: Reputation: 15
I'm also having problems with ffmpeg (another dependency). This is the end part of the 'make' output:

cp -p ffplay_g ffplay
strip ffplay
gcc -O3 -g -Wall -I. -I/usr/final/ffmpeg-0.4.9-pre1 -I/usr/final/ffmpeg-0.4.9-pre1/libavcodec -I/usr/final/ffmpeg-0.4.9-pre1/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o output_example.o output_example.c
output_example.c: In function `write_audio_frame':
output_example.c:143: warning: unused variable `out_size'
gcc -Wl,--warn-common -rdynamic -g -o output_example output_example.o -L./libavformat -lavformat -L./libavcodec -lavcodec -lm -lz -ldl
make -C vhook all
make[1]: Entering directory `/usr/final/ffmpeg-0.4.9-pre1/vhook'
gcc -fPIC -O3 -g -Wall -I.. -I/usr/final/ffmpeg-0.4.9-pre1 -I/usr/final/ffmpeg-0.4.9-pre1/libavformat -I/usr/final/ffmpeg-0.4.9-pre1/libavcodec -DHAVE_AV_CONFIG_H `freetype-config --cflags` -c -o null.o null.c
gcc -g -o null.so -shared null.o
gcc -fPIC -O3 -g -Wall -I.. -I/usr/final/ffmpeg-0.4.9-pre1 -I/usr/final/ffmpeg-0.4.9-pre1/libavformat -I/usr/final/ffmpeg-0.4.9-pre1/libavcodec -DHAVE_AV_CONFIG_H `freetype-config --cflags` -c -o fish.o fish.c
fish.c: In function `Process':
fish.c:340: warning: implicit declaration of function `time_is_forbidden_due_to_security_issues'
fish.c:340: warning: long int format, int arg (arg 4)
gcc -g -o fish.so -shared fish.o
gcc -fPIC -O3 -g -Wall -I.. -I/usr/final/ffmpeg-0.4.9-pre1 -I/usr/final/ffmpeg-0.4.9-pre1/libavformat -I/usr/final/ffmpeg-0.4.9-pre1/libavcodec -DHAVE_AV_CONFIG_H `freetype-config --cflags` -c -o ppm.o ppm.c
gcc -g -o ppm.so -shared ppm.o
gcc -fPIC -O3 -g -Wall -I.. -I/usr/final/ffmpeg-0.4.9-pre1 -I/usr/final/ffmpeg-0.4.9-pre1/libavformat -I/usr/final/ffmpeg-0.4.9-pre1/libavcodec -DHAVE_AV_CONFIG_H `freetype-config --cflags` -c -o drawtext.o drawtext.c
gcc -g -o drawtext.so -shared drawtext.o `freetype-config --libs`
rm fish.o ppm.o null.o
make[1]: Leaving directory `/usr/final/ffmpeg-0.4.9-pre1/vhook'
gcc qt-faststart.c -o qt-faststart
make -C doc all
make[1]: Entering directory `/usr/final/ffmpeg-0.4.9-pre1/doc'
texi2html -monolithic -number ffmpeg-doc.texi
Split loop at /usr/bin/texi2html line 5354, <FH001> line 1035.
make[1]: *** [ffmpeg-doc.html] Error 25
make[1]: Leaving directory `/usr/final/ffmpeg-0.4.9-pre1/doc'
make: *** [documentation] Error 2
[root@localhost ffmpeg-0.4.9-pre1]#

What is "Split loop at /usr/bin/texi2html line 5354, <FH001> line 1035" supposed to mean? I'm guessing that's my error right?
 
  


Reply


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
Having difficulty installing GCC / g++ Erik_the_Red Programming 1 06-02-2005 08:35 AM
difficulty installing distributions namayay Linux - Software 4 10-19-2004 12:01 PM
Difficulty in installing the AGP ruzvay Linux - Hardware 1 06-01-2004 07:10 AM
Difficulty installing, missing software ch4s3r Linux - Software 3 02-12-2004 01:53 PM
Difficulty in installing Conxeant Modem sheikhafeez Linux - Hardware 2 05-27-2003 06:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:45 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration