VideoHelp Forum
+ Reply to Thread
Results 1 to 11 of 11
Thread
  1. I downloaded the source, extracted it and did:
    ./configure with this result:
    ./configure
    checking for a BSD-compatible install... /usr/bin/ginstall -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for install location... /usr/local
    checking for a BSD-compatible install... /usr/bin/ginstall -c
    checking whether ln -s works... yes
    checking for ranlib... ranlib
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for wx-config... /usr/local/bin/wx-config
    checking for wxWindows version >= 2.4.2... yes (version 2.4.2)
    checking for kde-config... /opt/kde/bin/kde-config
    checking for GNOME data directory... no
    checking for msgfmt... /usr/bin/msgfmt
    checking for dvdauthor... /usr/bin/dvdauthor
    checking for mplex... /usr/bin/mplex
    checking for jpegtopnm... /usr/bin/jpegtopnm
    checking for mpgtx... no
    configure: error:
    DVDStyler requires mpgtx.
    Please check that mpgtx is in path.
    So I downloaded the mpgtx source and extracted it and ran ./configure:
    ./configure
    ./configure: line 139: test: too many arguments
    Checking Large File Support ... PASSED
    Generating Makefile ...

    Here are the options you choosed :
    Target : RELEASE
    Large File support : yes
    Link statically : no
    Support builtin parachute : no
    Install prefix : /usr/local

    Now Type "make" to build mpgtx (and have a nice day by the way)
    root@Pavilion:/mpgtx-1.3# make install
    ln -sf mpgtx mpgjoin
    ln -sf mpgtx mpgsplit
    ln -sf mpgtx mpgcat
    ln -sf mpgtx mpginfo
    ln -sf mpgtx mpgdemux
    ln -sf mpgtx tagmp3
    install -d -m 755 /usr/local/bin
    install -d -m 755 /usr/local/man/man1
    install -s -m 755 mpgtx /usr/local/bin
    install: cannot stat `mpgtx': No such file or directory
    make: *** [install] Error 1
    root@Pavilion:/mpgtx-1.3# make
    ----------------------------------------------------------------------
    I'm building mpgtx with following options :

    Target : RELEASE
    Large File support : yes
    Link statically : no
    Support builtin parachute : no
    Install prefix : /usr/local

    Type "./configure --help" to see available options.
    ----------------------------------------------------------------------

    g++ -pedantic -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNOSIGNAL_H -O3 -ansi -o mpgtx commandline.cxx mpegOut.o mpeg.o chunkTab.o id3command.o -s
    mpegOut.o(.text+0x699): In function `mpegVideoOut::WriteChunk(mpeg*, long long, bool, long long, bool)':
    : undefined reference to `mpeg::bdFindNextMarker(long long, unsigned char)'
    mpegOut.o(.text+0x760): In function `mpegVideoOut::WriteChunk(mpeg*, long long, bool, long long, bool)':
    : undefined reference to `mpeg::bdFindNextMarker(long long, unsigned char)'
    mpegOut.o(.text+0x7d8): In function `mpegVideoOut::WriteChunk(mpeg*, long long, bool, long long, bool)':
    : undefined reference to `mpeg::bdFindNextMarker(long long, unsigned char)'
    mpegOut.o(.text+0x953): In function `mpegSystemOut::WriteChunk(mpeg*, long long, bool, long long, bool)':
    : undefined reference to `mpeg::bdFindNextMarker(long long, unsigned char)'
    mpegOut.o(.text+0x9ee): In function `mpegSystemOut::WriteChunk(mpeg*, long long, bool, long long, bool)':
    : undefined reference to `mpeg::FindNextMarker(long long, unsigned char*)'
    mpegOut.o(.text+0xb7f): In function `mpegSystemOut::WriteChunk(mpeg*, long long, bool, long long, bool)':
    : undefined reference to `mpeg::bdFindNextMarker(long long, unsigned char)'
    mpegOut.o(.text+0xd45): In function `mpegSystemOut::WriteChunk(mpeg*, long long, bool, long long, bool)':
    : undefined reference to `mpeg::bdFindNextMarker(long long, unsigned char)'
    mpegOut.o(.text+0x2408): In function `demuxer:emuxTrPkt(_IO_FILE*, long long, long long)':
    : undefined reference to `mpeg::FindNextMarker(long long, unsigned char*)'
    mpegOut.o(.text+0x2557): In function `demuxer::ProcessProgramStream()':
    : undefined reference to `mpeg::FindNextMarker(long long, unsigned char*)'
    collect2: ld returned 1 exit status
    make: *** [mpgtx] Error 1
    Why won't it let me install mpgtx? What should I do so I can install mpgtx and then dvd styler? I tried swaret but it didn't find a package.
    Quote Quote  
  2. Free Flying Soul liquid217's Avatar
    Join Date
    Feb 2002
    Location
    United States
    Search Comp PM
    mpgtx has a static binary on its site. just download, and place it in your path. /user/local/bin i would assume.

    http://mpgtx.sourceforge.net/#Download
    Quote Quote  
  3. mpgtx has a static binary on its site. just download, and place it in your path. /user/local/bin i would assume.
    Let me try that and get back to you.. that seems alot easier than ./configure, make, make install!
    Quote Quote  
  4. hello,ihave the same problem with suse 9.1
    i can`t find that bin file,i am a newbie to linux can you help me out??
    Quote Quote  
  5. Originally Posted by sutton33us
    hello,ihave the same problem with suse 9.1
    i can`t find that bin file,i am a newbie to linux can you help me out??
    no bin is a folder. In KDE do alt-f2 and type kdesu konqueror. This will as you for your password and then get you root permissions in konqueror. Then copy the binary mpgtx (its the executable) and go to /usr/local/bin/ and paste it in that folder. Then it should work fine.
    Quote Quote  
  6. sorry,i don`t understand.
    on the site i can only download an tar.gz file,if i untar it will i find the executable there? (exe?)

    Be patient with me i am just beginning with linux
    Quote Quote  
  7. Originally Posted by sutton33us
    sorry,i don`t understand.
    on the site i can only download an tar.gz file,if i untar it will i find the executable there? (exe?)

    Be patient with me i am just beginning with linux
    Yes if you downloaded the static binary you will find a Linux executable. This is not a .exe file. Its probably called mpgtx and has a black icon. Now hit alt-f2 and type kdesu konqueror, and enter your root password. What this does is give you a filebrowser that has all the permissions, so you can modify stuff in /usr/local/bin. Now copy the mpgtx executable into the bin folder in /usr/local/bin/. This will let you run mpgtx and subsequently install programs that require it.

    I'm happy to help with your getting started with linux.
    Quote Quote  
  8. i now have mpgtx in usr/local/bin but i still cannot ./configure dvdstyler
    it still says i do not have mpgtx in my path?
    Quote Quote  
  9. I think i got it sorted.
    The path isn`t /usr/local/bin but usr/bin in suse linux.
    I copied the mpgtx file there and dvd styler did install perfectly.

    Thanks for your help!
    Quote Quote  
  10. Originally Posted by sutton33us
    I think i got it sorted.
    The path isn`t /usr/local/bin but usr/bin in suse linux.
    I copied the mpgtx file there and dvd styler did install perfectly.

    Thanks for your help!
    Yeah, /usr/bin/ also for any Linux distro. You can use either though usually, strange that dvd styler requires it to be there. Anyway I'd be happy to help with other problems you might have, feel free to pm me.
    Quote Quote  
  11. This is how I resolved the link error building mpgtx-1.3 on Slackware 13.37.

    After ./configure (with your options), edit the generated Makefile and remove the "-O3" option (no optimization). Save it and run make.

    I tried replacing it with "-O2" and "-O1", but the error remained. Removing it allowed it to link.

    nc_jlm
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!