LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Closed Thread
  Search this Thread
Old 07-18-2015, 10:04 AM   #211
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097

You'd be surprised how much havoc a stray .pc file left simmering in /usr/share/pkgconfig along with a stray .so and/or .la library can play on a system with a compiler toolchain. I've had very few incidents with it minus one bad incident with zlib I had years ago on Mandrake, (someone tried to use a community package for zlib as libz... and it did enough damage to a build that even made the developer of the project stumped) but it never hurts to check for problems in unlikely places.
 
Old 07-18-2015, 10:29 AM   #212
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
You'd be surprised
No I wouldn't. Which is why I have dedicated build boxes maintained absolutely clean using overlayfs and chroot. Also the problem was reported by Willy and I confirmed it, so it would be a stretch to hypothesise that cause for problems on two independent systems.

But thanks for what is, in general, good advice.

Last edited by 55020; 07-18-2015 at 10:36 AM.
 
Old 07-18-2015, 06:32 PM   #213
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Not all of us have such luxuries like a few extra boxes unfortunately. However, let it be a good reminder for people to learn how to check and see if a system is clean for certain things and if maintenance is needed as such.

Last edited by ReaperX7; 07-18-2015 at 06:35 PM.
 
Old 07-18-2015, 07:11 PM   #214
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,650

Rep: Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770
Quote:
Originally Posted by chris.willing View Post
Could I suggest:
Code:
mkdir -p build
cd build
    -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
    -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
    -DCMAKE_CXX_FLAGS:STRING="$(/usr/bin/Magick++-config --libs)" \
That will bring in all the needed Magick{Core,++,Wand} libs in a version-neutral way (and seems a little more cmake-like too).

chris
Thanks for all the help, will test this after my holiday
 
Old 07-18-2015, 09:57 PM   #215
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,044

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
Not all of us have such luxuries like a few extra boxes unfortunately.
VMs can come handy then.
 
Old 07-19-2015, 01:53 AM   #216
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,193

Rep: Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307
Quote:
Originally Posted by Didier Spaier View Post
VMs can come handy then.
I've just been using chroots. They've worked well so far.
 
Old 07-19-2015, 03:01 AM   #217
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
Not all of us have such luxuries like a few extra boxes unfortunately.
Luxuries??

The most powerful box I have is a desktop Dell OptiPlex 755 (Core 2 Duo 3GHz) that cost me £20 when an accountancy office bought new PCs. By the magic of distcc that's clustered with an Athlon 64 X2 Dual Core 5600+ box that I got for nothing because it was dead -- six caps on the mobo had blown, I recapped it and it's fine; and my desktop box, which is an Athlon 5000+; and a 3.2 GHz P4 with good old HT. My current lappie is a 1.8GHz Celeron that got fried when a neighbour spilt wine into it.

It makes me die a little inside when people in this forum say that a $100 graphics card is cheap. I can't afford that. But if you make yourself useful to people, eventually you'll get their junk, and if you have a brain you can make it sing.
 
4 members found this post helpful.
Old 07-22-2015, 01:09 PM   #218
slack_jack
LQ Newbie
 
Registered: Jul 2015
Posts: 1

Rep: Reputation: Disabled
Proposed fixes for avogadro and QtiPlot.

Avogadro - Remove eigen3 before compiling source for slackware64-current (July 17th, 2015 update).

QtiPlot - Extract qtiplot-0.9.8.9.tar.bz2 into a separate directory. Change fold to qtiplot-0.9.8.9/3rdparty/qwtplot3d/3rdparty/gl2ps and edit gl2ps.c. Change line 819 from

png_set_compression_level(png_ptr, Z_DEFAULT_COMPRESSION);

to

png_set_compression_level(png_ptr, 6);

The above packages should compile.
 
1 members found this post helpful.
Old 07-22-2015, 03:59 PM   #219
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,060

Rep: Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139
it's bedtime here, I'll have a deeper look tomorrow: in the meantime I found these, still have to test them but look promising

http://pkgs.fedoraproject.org/cgit/a...1-eigen3.patch

https://projects.archlinux.org/svnto...libpng15.patch

as you seem to use the two, please try applying those during the build and report back if they solve your issues.

I'm also not sure that these issues are current-specific... in this case the fixes shouldn't go in my personal repository but in the main one (and should be reported to the respective maintainers, not here).

Last edited by ponce; 07-22-2015 at 04:09 PM.
 
1 members found this post helpful.
Old 07-24-2015, 06:35 AM   #220
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
tl;dr avogadro and QtiPlot build ok with the suggested patches. Thanks to both of you!

Good work by slack_jack on diagnosing those problems (they were both on my "difficult problem" list), and good work by ponce finding those patches (I spent hours looking before you found them).

In the case of avogadro + eigen3, it's a -current problem since eigen3 was added to -current. The problem is that avogadro already has eigen3 support that is broken... if it had only eigen2 support, it would be ok :-/

In the case of QtiPlot, the code in gl2ps that detects zlib is commented out [1]. It's a -current problem because since the libpng-1.6 upgrade in -current, png.h no longer includes zlib.h [2]. The patch qwtplot3d-libpng15.patch isn't subtle, but it works.

[1] Why do developers write such unnecessarily complex code, then notice it doesn't work, and then just give up [3]? You'd expect that people who understand advanced data visualisation would also be able to understand a few simple includes, but apparently not *shakes head sadly*

[2] from my notes, these other packages might have a similar problem with libpng:
development/swfmill games/frogatto games/jezzball-kazzmir multimedia/tvtime

[3] QtiPlot is commercial software, so that is probably the explanation.
 
Old 08-03-2015, 07:43 PM   #221
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Claws-mail doesn't compile on slackware current and the script on ponce's repo doesn't seem to different from sbo either.

http://slackbuilds.org/repository/14...rk/claws-mail/
https://github.com/Ponce/slackbuilds...ork/claws-mail

Libetpan which is a dependency builds fine, both 1.5 and 1.6.

Here is what seems to be the relevant errors when compiling claws-mail with libetpan 1.5.
Code:
jpilot.o: In function `jpilot_read_data':
jpilot.c:(.text+0x14ba): undefined reference to `unpack_AddressAppInfo'
jpilot.c:(.text+0x1e15): undefined reference to `pi_buffer_new'
jpilot.c:(.text+0x1e3e): undefined reference to `unpack_Address'
jpilot.c:(.text+0x1e4f): undefined reference to `pi_buffer_free'
jpilot.c:(.text+0x2044): undefined reference to `free_Address'
jpilot.c:(.text+0x2283): undefined reference to `pi_buffer_free'
collect2: error: ld returned 1 exit status
make[4]: *** [claws-mail] Error 1
make[4]: Leaving directory `/tmp/SBo/claws-mail-3.12.0/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/claws-mail-3.12.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/SBo/claws-mail-3.12.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/claws-mail-3.12.0'
make: *** [all] Error 2
 
Old 08-03-2015, 08:31 PM   #222
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
claws-mail builds fine here.
Those missing symbols are part of the kdepim and pilot-link packages (found by asking Mr Google btw).
So... take a wild guess what to do about that.

Edit: Look what I found. You know when we say people should have a full installation unless they are clever enough to solve their own problems with missing packages? *sigh*

Last edited by 55020; 08-03-2015 at 08:44 PM.
 
1 members found this post helpful.
Old 08-03-2015, 08:40 PM   #223
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Thanks! Your google searches seem to have been more fruitful than mine. I don't have any kde packages so its my fault, first time I have had this issue...
 
Old 08-17-2015, 09:53 AM   #224
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Well, I asked in #claws @ freenode, apparently I just need --disable-jpilot in the slackbuild which disables something that supposedly may not even work anymore. (I must of really been on the ball to miss that in ./configure --help). Also a claws-mail dev clearly told me "Claws doesn't rely on kde pim".

Quote:
Originally Posted by 55020 View Post
Edit: Look what I found. You know when we say people should have a full installation unless they are clever enough to solve their own problems with missing packages? *sigh*
I have already said this elsewhere, but out of 172+ slackbuilds installed claws-mail was the only one that seemed to need a kde package, but now it seems that may of not even been true and it really needed the jpilot slackbuild, which I unfortunately can not easily test since it doesn't compile here and I'm not really that fussed to figure out why... I stand by that there is no or possibly very little need to have kde, kdei, or xfce packages installed if you do not use any packages clearly associated with those projects. Possibly one slackbuild out of 172+ is not very much reason to preach that everyone must have a full install as a few users here do, if it was a clearly bad idea to remove kde and xfce from a slackware system they wouldn't be isolated in their own package series.

http://slackbuilds.org/repository/14...?search=jpilot
Code:
checking to see if I can compile a pilot link program... no
configure: error: Could not compile a test pilot-link program
 
Old 08-17-2015, 10:28 AM   #225
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,060

Rep: Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139
hi orbea, don't know what's happening there with jpilot, maybe you can get more informations out of the config.log inside the sources.

what I can tell you is that on my full installations of slackware64-14.1 and slackware64-current I just built:
- libetpan and claws-mail
- jpilot (after those, so seems not to be a dependency)

Quote:
Possibly one slackbuild out of 172+ is not very much reason to preach that everyone must have a full install as a few users here do, if it was a clearly bad idea to remove kde and xfce from a slackware system they wouldn't be isolated in their own package series.
let me say that:
- you are getting the numbers really wrong;
- luckily the people not doing a full install are a minority;
- the package sets are not related to complete isolation;
- on SBo only full installs are supported: if you don't install some package set (well, maybe this is not true just for the kdei set) it's not guaranteed that all the stuff from there will build.

so, please, service message for all: avoid reporting issue in this thread if you are not running a slackware current full install.
if you are running a subset of the full install and you have building issues report only if you are *absolutely sure* that it's not related to local missing dependencies.

Last edited by ponce; 08-17-2015 at 10:38 AM.
 
  


Closed Thread


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
[SOLVED] SBO request: CDE wigry Slackware 23 05-05-2014 06:35 AM
Nvidia-driver.SlackBuild from SBo (or: I am a bad and sloppy SBo maintainer) kingbeowulf Slackware 8 08-31-2012 02:41 AM
Opera 10.01 in SBo hitest Slackware 2 11-09-2009 02:14 PM
Bug in 8.04, fixed in 8.10 - How to get fixed in 8.04 which is LTS? taylorkh Ubuntu 4 02-28-2009 05:17 PM
UNresolved and Fixed issue thread marking abs LQ Suggestions & Feedback 8 02-13-2004 04:15 AM

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

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