Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-07-2006, 10:41 AM
|
#1
|
Member
Registered: Nov 2005
Location: Bangladesh
Distribution: openSUSE
Posts: 83
Rep:
|
compiling slackware pkg from source
Hi all
I am 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
Jadukor
|
|
|
07-07-2006, 04:12 PM
|
#2
|
Senior Member
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761
Rep:
|
I'm running a stock Slackware 10.2 version with all the updates. I downloaded and unpacked mmpython-0.4.9, ran checkinstall, and didn't get any errors. The README didn't say anything about dependecies other than running the 'setup.py' file, so...
# cd mmpython-0.4.9
# checkinstall python setup.py install
Installing with "python setup.py install"...
======================== Installation results
running install
running build
running build_py
running build_ext
running build_scripts
running install_lib
running install_scripts
changing mode of /usr/bin/mminfo to 755
======================== Installation succesful
Done. The new package has been installed and saved to
# mmpython-0.4.9-i386-1.tgz
I'll see what libdvdread-0.9.6 does and post back with my results.
|
|
|
07-07-2006, 04:32 PM
|
#3
|
Senior Member
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761
Rep:
|
I downloaded and unpacked libdvdread-0.9.6, ran configure, make, and checkinstall, no errors. I'm kind of at a loss as to why your having so much difficulties. Possibly due the packages in question are non-stable 0.x.x versions?
# cd libdvdread-0.9.6
# configure
# make
# checkinstall
--------------------------------------------------------------------
test -z "/usr/local/include/dvdread" || mkdir -p -- "/usr/local/include/dvdread"
/usr/bin/ginstall -c -m 644 'dvd_reader.h' '/usr/local/include/dvdread/dvd_reader.h'
/usr/bin/ginstall -c -m 644 'ifo_types.h' '/usr/local/include/dvdread/ifo_types.h'
/usr/bin/ginstall -c -m 644 'ifo_read.h' '/usr/local/include/dvdread/ifo_read.h'
/usr/bin/ginstall -c -m 644 'ifo_print.h' '/usr/local/include/dvdread/ifo_print.h'
/usr/bin/ginstall -c -m 644 'nav_types.h' '/usr/local/include/dvdread/nav_types.h'
/usr/bin/ginstall -c -m 644 'nav_read.h' '/usr/local/include/dvdread/nav_read.h'
/usr/bin/ginstall -c -m 644 'nav_print.h' '/usr/local/include/dvdread/nav_print.h'
/usr/bin/ginstall -c -m 644 'cmd_print.h' '/usr/local/include/dvdread/cmd_print.h'
make[2]: Leaving directory `/home/bsdunix/src/libdvdread-0.9.6/dvdread'
make[1]: Leaving directory `/home/bsdunix/src/libdvdread-0.9.6/dvdread'
Making install in src
make[1]: Entering directory `/home/bsdunix/src/libdvdread-0.9.6/src'
make[2]: Entering directory `/home/bsdunix/src/libdvdread-0.9.6/src'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/bsdunix/src/libdvdread-0.9.6/src'
make[1]: Leaving directory `/home/bsdunix/src/libdvdread-0.9.6/src'
make[1]: Entering directory `/home/bsdunix/src/libdvdread-0.9.6'
make[2]: Entering directory `/home/bsdunix/src/libdvdread-0.9.6'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/bsdunix/src/libdvdread-0.9.6'
make[1]: Leaving directory `/home/bsdunix/src/libdvdread-0.9.6'
========================= Installation results
Making install in dvdread
make[1]: Entering directory `/home/bsdunix/src/libdvdread-0.9.6/dvdread'
make[2]: Entering directory `/home/bsdunix/src/libdvdread-0.9.6/dvdread'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/bin/sh ../libtool --mode=install /usr/bin/ginstall -c 'libdvdread.la' '/usr/local/lib/libdvdread.la'
/usr/bin/ginstall -c .libs/libdvdread.so.3.2.0 /usr/local/lib/libdvdread.so.3.2.0
(cd /usr/local/lib && rm -f libdvdread.so.3 && ln -s libdvdread.so.3.2.0 libdvdread.so.3)
(cd /usr/local/lib && rm -f libdvdread.so && ln -s libdvdread.so.3.2.0 libdvdread.so)
/usr/bin/ginstall -c .libs/libdvdread.lai /usr/local/lib/libdvdread.la
/usr/bin/ginstall -c .libs/libdvdread.a /usr/local/lib/libdvdread.a
ranlib /usr/local/lib/libdvdread.a
chmod 644 /usr/local/lib/libdvdread.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
--------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
======================== Installation succesful
Done. The new package has been installed and saved to
# libdvdread-0.9.6-i386-1.tgz
|
|
|
07-10-2006, 02:48 PM
|
#4
|
Member
Registered: Nov 2005
Location: Bangladesh
Distribution: openSUSE
Posts: 83
Original Poster
Rep:
|
Thanks
All I can say is that it has made me more jealous & even mad :-)
Can you please send me a list of all the pkgs installed on your system.... I am asking this cos I made a slim installation, so may be I am missing a certain pkg or somthing...
Thanks
Jadukor
|
|
|
07-10-2006, 07:48 PM
|
#5
|
Senior Member
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761
Rep:
|
I have a tendency to reinstall the OS for testing purposes. I normally accept all the packages selected at the "Package Series Selection" screen prompt, remove anything related to RAID, and install all Python packages. I upgrade all installed packages with the latest security updates. I then installed checkinstall from the /extra package directory from a local mirror. This isn't exactly what your looking for, but it should give you an idea what packages I have installed. If you need a more detailed list I can send a list to you via this forum's email app.
|
|
|
All times are GMT -5. The time now is 03:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|