LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-07-2006, 10:41 AM   #1
jadukor
Member
 
Registered: Nov 2005
Location: Bangladesh
Distribution: openSUSE
Posts: 83

Rep: Reputation: 15
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
 
Old 07-07-2006, 04:12 PM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
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.
 
Old 07-07-2006, 04:32 PM   #3
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
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
 
Old 07-10-2006, 02:48 PM   #4
jadukor
Member
 
Registered: Nov 2005
Location: Bangladesh
Distribution: openSUSE
Posts: 83

Original Poster
Rep: Reputation: 15
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
 
Old 07-10-2006, 07:48 PM   #5
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
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.
 
  


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
compiling kde 3.5 from source on slackware 10.1 Weedman Slackware 1 01-08-2006 01:18 AM
compiling synaptic needs apt-pkg??? johnnydangerous Fedora 4 03-06-2005 11:18 PM
SuSE 9.1: compiling probs using pkg-config bitpicker Linux - Distributions 3 10-29-2004 05:38 AM
compiling pkg-config-0.15.0 pawn-o-matic Linux - General 0 12-24-2003 12:55 PM
Slackware Pkg System GT_Onizuka Slackware 7 11-05-2003 09:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:47 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