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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
03-29-2011, 12:41 PM
|
#31
|
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,959
|
I'm having no problems with building any of the other packages. Just kdebindings, amarok, and koffice. No problems applying the patches.
Yesterday I had already tried the sym link trick but that did not work. Perhaps I did not create the link correctly. I'll try that again.
After both kdebindings and amarok failed to build, I uninstalled the ruby-1.9.1 package and then built and installed the 1.8.7 package. That solved the problem of building amarok, but kdebindings keeps failing with an error reference about Qt.cpp and Qtruby.
Code:
make[5]: Entering directory `/dev/shm/kdebindings-3.5.10/qtruby/rubylib/qtruby'
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../smoke -I/opt/kde3/include -I/opt/kde3/lib/qt-3.3.8b/include -I. -I/usr/lib/ruby/1.8/i486-linux -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i486 -mtune=i686 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT Qt.lo -MD -MP -MF .deps/Qt.Tpo -c -o Qt.lo Qt.cpp
Qt.cpp: In function 'VALUE pretty_print_qobject(VALUE, VALUE)':
Qt.cpp:1272: warning: too many arguments for format
Qt.cpp: In function 'VALUE dumpCandidates(VALUE, VALUE)':
Qt.cpp:2611: error: 'rb_str_catf' was not declared in this scope
make[5]: *** [Qt.lo] Error 1
The kdebindings error message seems related to one of the patches. I will be trying again today.
BTW, for anybody interested, I found some libpng patches for both digikam and gwenview. I can build both in 13.1.
|
|
|
|
03-29-2011, 02:06 PM
|
#32
|
|
Member
Registered: Sep 2009
Distribution: Slackware
Posts: 125
Original Poster
Rep:
|
Huh :-)
So, one more try!
There are TWO ruby.h header files:
- /usr/include/ruby-1.9.1/ruby.h,
and
-/usr/include/ruby-1.9.1/ruby/ruby.h
The first one includes the other:
Code:
#include "ruby/ruby.h"
As i mentioned before you got to have a symlink /usr/lib/ruby/1.9.1/i486-linux/ruby.h pointing to /usr/include/ruby-1.9.1/ruby.h. BUT I forgot another thing: there is still need to create a SECOND symlink
Code:
/usr/lib/ruby/1.9.1/i486-linux/ruby -> /usr/include/ruby-1.9.1/ruby
to make the above mentioned #include possible.
I hope that was it :-)
Create those symlinks, get rid of ruby 1.8 an compile. It has to be alright now.
Compiling kdebindings with ruby-1.8 fails because of the patches applied (for example Qt_cpp2.diff), which I had to apply due to differences in ruby syntax between 1.8 and 1.9 versions.
As for compilation of koffice, you'll have to find your own solution. I thought it would be pointless, 'cause I wouldn't even use it anyway. I mean - who needs it at all?
Wish you luck. By the way - thanks for testing!
Last edited by alekow; 03-29-2011 at 03:18 PM.
|
|
|
1 members found this post helpful.
|
03-29-2011, 04:12 PM
|
#33
|
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,959
|
Yay! Looks like both sym links do the trick. kdebindings finally compiled. I rebuilt amarok again too with no errors.
I'm not concerned about koffice. Might be nice to have some of the support apps like kivio or krita but LibreOffice will do fine for the most part.
I have been building all of this on a remote chroot system. Next big test is actually installing the packages and testing. Might be a good idea to do a clean install of 13.1 in the chroot and run the build process one more time. 
|
|
|
|
03-30-2011, 01:14 AM
|
#34
|
|
Member
Registered: Sep 2009
Distribution: Slackware
Posts: 125
Original Poster
Rep:
|
Quote:
|
Might be a good idea to do a clean install of 13.1 in the chroot and run the build process one more time.
|
Yes, definitely. Or, if you use 32-bit system, you may as well test my packages as they were built exactly the same way (clean chroot environment).
Last edited by alekow; 03-30-2011 at 02:46 AM.
|
|
|
|
03-30-2011, 02:12 AM
|
#35
|
|
Member
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 451
Rep:
|
If you are interested, here are an older KDE3 variant (for Slackware 13.0), which I built myself:
http://ftp.darkstarlinux.ro/slackware/source/kde3*
What is so special about this version? I created some patches for KDE3, to be installed and work in parallel with KDE4.
So, the installation is in '/opt/kde3' and KDE3 uses '/etc/kde3' and '~/.kde3', etc. ...
I think maybe it will be useful for something ... 
|
|
|
|
03-30-2011, 11:46 AM
|
#36
|
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,959
|
I have quite a collection of patches.  alekow provided more. After building the main KDE3 suite packages I hunted for more patches to build third party KDE3 packages. I can build Amarok, Digikam, Gwenview, K3B with full multimedia support, Kaffeine, gtk-qt-engine, K9Copy, Knemo, and KTorrent in 13.1. I'm curious to try again in 13.37, but I might just wait for the next version of Trinity.
Many of these patches have been merged into the Trinity project, but I need to submit those that haven't. For example, many of the libpng 1.4 patches need to be merged into Trinity.
I will browse through your files and see what patches I might be missing. I'm amazed and happy to see so many people around the world keeping KDE3 alive and well. To paraphrase that infamous quote from Mark Twain, reports of KDE3's death are greatly exaggerated. Right now the Trinity developers are making significant strides converting to a cmake build system and providing hooks into QT4. With those changes Trinity should be around a long time. Getting 3.5.10 working on 13.1 buys me time until the next version of Trinity is ready. I'll continue to tinker with KDE4, but I don't like all the cruft that is enabled by default. Xfce is too limited and is becoming more like GNOME. KDE3 had the right amount of configurability for a desktop environment.
|
|
|
2 members found this post helpful.
|
04-02-2011, 11:14 AM
|
#37
|
|
Member
Registered: Sep 2009
Distribution: Slackware
Posts: 125
Original Poster
Rep:
|
There is one error in qca1.SlackBuild. The last line should be changed to:
Code:
makepkg -l y -c n ../qca1-$VERSION-$ARCH-$BUILD.txz
I've found some time ;-) and right now I'm revisiting the source to prepare it for compilation on slackware-13.37.
|
|
|
|
04-02-2011, 01:41 PM
|
#38
|
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,959
|
Quote:
|
right now I'm revisiting the source to prepare it for compilation on slackware-13.37.
|
I plan to test when 13.37 goes official.
|
|
|
|
04-18-2011, 04:10 PM
|
#39
|
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,959
|
I can't compile a full Amarok package in 13.1. The package builds and and the binaries seem to function. Yet none of the locale or /usr/share/doc/HTML help files are part of the package.
I don't have this problem in 12.2. I'm guessing then the problem is with the patches for gcc 4.4 or ruby. Probably the gcc 4.4 patches somehow trip the makefiles in those sections.
The Arch folks seem to have patches for ruby, but I can't find them anywhere. Just numerous references to the patches.
Any ideas?
|
|
|
|
04-18-2011, 04:41 PM
|
#40
|
|
Member
Registered: Sep 2009
Distribution: Slackware
Posts: 125
Original Poster
Rep:
|
check under /opt/kde3
|
|
|
|
04-18-2011, 04:54 PM
|
#41
|
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,959
|
Check for what? The locale and HTML files? No, they are not part of the package or in the temporary location where the package is built. The files are not being built into the package.
|
|
|
|
04-18-2011, 04:57 PM
|
#42
|
|
Member
Registered: Sep 2009
Distribution: Slackware
Posts: 125
Original Poster
Rep:
|
Then - check in my package. Seems fine here.
|
|
|
|
04-18-2011, 05:18 PM
|
#43
|
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,959
|
Quote:
|
Then - check in my package. Seems fine here.
|
Link?
I'll check but comparing contents of packages won't help me debug why the package is incomplete here. . . .
|
|
|
|
04-18-2011, 05:28 PM
|
#44
|
|
Member
Registered: Sep 2009
Distribution: Slackware
Posts: 125
Original Poster
Rep:
|
http://www.linuxquestions.org/questi...5/#post4187291
http://www.linuxquestions.org/questi...5/#post4188934
Quote:
|
I'll check but comparing contents of packages won't help me debug why the package is incomplete here. . . .
|
Hmmm... I think it MAY help, because you probably used the same source (or didn't you?) and it may also tell you that it's not a problem with any of the patches used. Maybe you should just use a truly clean environment? Fresh chroot install maybe?
|
|
|
|
04-18-2011, 05:35 PM
|
#45
|
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,959
|
Is there a way to download only the Amarok package?
BTW, I have a copy of your full build tree. I'm using the same patches as you.
In my build environment I replaced autoconf 2.65 with 2.63 and automake 1.11.1 with 1.10.1 from Slackware 12.2. Amarok then built completely. Which versions of the autotools did you use?
Last edited by Woodsman; 04-18-2011 at 06:32 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:02 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
|
|