Find the answer to your Linux question:
Results 1 to 5 of 5
Hi all I am newbie running Slackware10.2 with KDE desktop. I am trying to get "freevo" up & running, but it seem to have a billion dependencies; for most of ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2006
    Posts
    44

    compiling slackware pkg from source


    Hi all

    I am newbie running Slackware10.2 with KDE desktop.
    I am trying to get "freevo" up & running, but it seem to have a billion
    dependencies; for most of which there does not seem to be a slackware pkg.

    I use the program "checkinstall" to build slackware pkg.

    I am now trying to build a pkg for "mmpython-0.4.9" but it keeps giving
    me a lot of error; I am pasting a few lines below

    ***********************
    /usr/local/include/dvdread/ifo_types.h:68: error: syntax error before
    "uint8_t"
    /usr/local/include/dvdread/ifo_types.h:70: error: syntax error before
    "second"
    /usr/local/include/dvdread/ifo_types.h:71: error: syntax error before
    "frame_u"
    /usr/local/include/dvdread/ifo_types.h:78: error: syntax error before
    "uint8_t"
    /usr/local/include/dvdread/ifo_types.h:143: error: syntax error before
    "uint16_t"
    /usr/local/include/dvdread/ifo_types.h:145: error: syntax error before
    "code_extension"
    /usr/local/include/dvdread/ifo_types.h:146: error: syntax error before
    "unknown3"
    /usr/local/include/dvdread/ifo_types.h:175: error: syntax error before
    '}' token
    /usr/local/include/dvdread/ifo_types.h:231: error: syntax error before
    "uint8_t"
    /usr/local/include/dvdread/ifo_types.h:258: error: syntax error before
    "uint8_t"
    /usr/local/include/dvdread/ifo_types.h:260: error: syntax error before
    "lang_extension"
    /usr/local/include/dvdread/ifo_types.h:261: error: syntax error before
    "code_extension"
    /usr/local/include/dvdread/ifo_types.h:270: error: syntax error before
    "uint16_t"
    /usr/local/include/dvdread/ifo_types.h:272: error: syntax error before
    "nr_of_cell"
    /usr/local/include/dvdread/ifo_types.h:273: error: syntax error before
    "last_byte"
    /usr/local/include/dvdread/ifo_types.h:274: error: syntax error before
    '*' token
    ***********************

    I have got the "libdvdread-0.9.6" pkg installed, which was also made by
    me from source using "checkinstall"

    I also tried to make a "lsdvd-0.16" pkg but when I tried to run
    "./configure" it kept giving me an error; something like.... "header
    files for dvdread could not be found"
    but the files were clearly there!!

    bash-3.00$ ls /usr/local/include/dvdread/
    cmd_print.h ifo_print.h ifo_types.h nav_read.h
    dvd_reader.h ifo_read.h nav_print.h nav_types.h
    bash-3.00$

    So I even tried to do this
    ./configure --includedir=/usr/local/include/dvdread/

    but to no effect..

    So is something wrong with the libdvdread-0.9.6 pkg or am I missing
    something here....

    Thanks in advance
    Emon

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    This is why I usually configure my packages with a prefix of /usr instead of /usr/local

    try it, configure might pick up the include headers automatically if they are in /usr/include

  3. #3
    Just Joined!
    Join Date
    May 2006
    Posts
    44
    Thanks

    I tried your advice; configured libdvdread-0.9.6 with "./configure --prefix=/usr" option, but no luck!! Frustrated I downloaded libdvdread-0.9.5-i486-1kjz.tgz from <linuxpackages.net>, but still no luck!!! I am still getting the same errors that I was getting!!

    What on earth can possibly be wrong with this "libdvdread" pkg?? At this point I must also admit that I am using a (sort of) slim installation of Slackware10.2; could that be the problem?? I am also using a custom compiled 2.6.13 kernel.

    Somenone also pointed me to this link, & I am not ecactly sure if what it says is OK; should I try it??

    http://www.bsdforums.org/forums/arch...hp/t-7324.html

    Any help will be highly appreciated

    Thanks again
    Emon

  4. #4
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    is it the case maybe that there is a libdvdread-devel package?

    if not, just get the libdvdread package from linuxpackages.net and try that, build the other dependant app on that instead. I'd imagine the libdvdread binary package comes with headers too though as well as the binary library, I'm not 100% sure though.

    you could set LD_LIBRARY_PATH in your profile if you wanted, but its not the best option, as the app would still be broken for others, unless you set it in the global profile.

    but, isnt there a package for this app on linuxpackages.net or elsewhere?

  5. #5
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,628
    If you want an alternative, you can install it using slapt-get. Install slapt-get, then:
    Code:
    slapt-get --update
    ...which may take a while, then:
    Code:
    slapt-get --install libdvdread
    Slapt-get will install the FreeRock Gnome version which works perfectly on my 2.6.13 - box.
    Linux Mint + IceWM Registered:#371367 New Members: click here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •