http://bugs.cinelerra.org/show_bug.cgi?id=397

           Summary: Configure missing nasm tool installed check, compile
                    fails
           Product: Cinelerra
           Version: 2.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: Medium
         Component: Building
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When configuring a Makefile the configure tool should check for the existence
of the 'nasm' tool.  http://sourceforge.net/projects/nasm

Currently it does not.  Without this too installed the ./admin/nasm perl script
barfs trying to run nasm, on line 24.  

As an add-on ./admin/nasm should be disambiguated from the nasm tool by
renaming this script to something unique, such as "nasm-wrapper" or
"nasmrunner".

In my case the 'reconmmx' object could not be compiled:

/bin/sh ../../libtool --tag=CC --mode=compile ../../admin/nasm  -g -O2 -c -o
reconmmx.lo `test -f 'reconmmx.s' || echo './'`reconmmx.s
 ../../admin/nasm -g -O2 -c reconmmx.s  -fPIC -DPIC -o .libs/reconmmx.o
\1 better written as $1 at ../../admin/nasm line 12.
Use of $# is deprecated at ../../admin/nasm line 27.
nasm -felf reconmmx.s -o .libs/reconmmx.o
Can't exec "nasm": No such file or directory at ../../admin/nasm line 24.
/bin/sh ../../libtool --tag=CC --mode=link gcc -DHAVE_MMX -DUSE_MMX -DX86_CPU 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2   -o
libmpe g3_video.la   getpicture.lo headers.lo idct.lo macroblocks.lo mmxtest.lo
motion.lo mpeg3cache.lo mpeg3video.lo output.lo reconstruct.lo seek.lo slice.lo
subtitle. lo vlc.lo mmxidct.lo reconmmx.lo   -lm -ldl -lpthread
ar cru .libs/libmpeg3_video.a .libs/getpicture.o .libs/headers.o .libs/idct.o
.libs/macroblocks.o .libs/mmxtest.o .libs/motion.o .libs/mpeg3cache.o
.libs/mpeg3vid eo.o .libs/output.o .libs/reconstruct.o .libs/seek.o
.libs/slice.o .libs/subtitle.o .libs/vlc.o .libs/mmxidct.o .libs/reconmmx.o
ar: .libs/reconmmx.o: No such file or directory
make[3]: *** [libmpeg3_video.la] Error 1
make[3]: Leaving directory `/home/nick/cinelerra/hvirtual/libmpeg3/video'

Include a check for nasm in the configure script.


Reproducible: Always


-- 
Configure bugmail: http://bugs.cinelerra.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to