LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-24-2009, 08:12 AM   #1
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
DDD SlackBuild problem


Eric
I've just tried your DDD SlackBuild, and the build went without problems, but the install to /tmp failed with this message:
Code:
make[2]: Leaving directory `/tmp/build/tmp-ddd/ddd-3.3.12/vsllib'
make[1]: Leaving directory `/tmp/build/tmp-ddd/ddd-3.3.12/vsllib'
Making install in ddd
make[1]: Entering directory `/tmp/build/tmp-ddd/ddd-3.3.12/ddd'
g++ -DHAVE_CONFIG_H -I.  -I./..    -O2  -Wall -W -Wwrite-strings -march=i486 -mtune=i686 -trigraphs  -MT ScrolledGE.o -MD -MP -MF .deps/ScrolledGE.Tpo -c -o ScrolledGE.o ScrolledGE.C
In file included from /usr/include/Xm/XmP.h:1646,
                 from ScrolleGEP.h:36,
                 from ScrolledGE.C:32:
/usr/include/X11/VendorP.h:87: error: previous declaration of 'VendorShellClassRec vendorShellClassRec' with 'C++' linkage
/usr/include/Xm/VendorSP.h:58: error: conflicts with new declaration with 'C' linkage
make[1]: *** [ScrolledGE.o] Error 1
make[1]: Leaving directory `/tmp/build/tmp-ddd/ddd-3.3.12/ddd'
make: *** [install-recursive] Error 1
./ddd.SlackBuild FAILED at line 183
The lines 182 & 183 are:
Code:
find $PKG | xargs file | grep -e "executable" -e "shared object" \
  | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
I'm by no means an expert, but those lines don't seem to have any relevance to the fault.
P.S.
This is on 12.2. I changed ARCH to i486.

Last edited by brianL; 06-24-2009 at 08:19 AM.
 
Old 06-24-2009, 10:01 AM   #2
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
to BrianL:

I tried to compile DDD and got the same error. I Googled it and it seems to be related to Motif (lesstif) which is used by DDD. People report that it's fixed after updating their lesstif versions. I don't know how up-to-date Slackware's version is. The configure script has a --without-motif option but if you use that, it says "Motif is required, don't use the --without-motif option" .
 
Old 06-24-2009, 10:28 AM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298

Original Poster
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by Ilgar View Post
Indeed the latest version is 0.95.2 (just checked it), released on May 29 2009:

http://sourceforge.net/project/showf...?group_id=8596

And it includes the relevant fix:

http://sourceforge.net/project/shown...ease_id=685588


So maybe it's time for Pat to update lesstif in -current?
Maybe the 0.95.2 release is in Slackware64-current, and that's why Eric wouldn't notice it?
No, it's 0.95.0.
erklaerbaer, sorry for hijacking your thread.

Last edited by brianL; 06-24-2009 at 10:31 AM.
 
Old 06-24-2009, 10:31 AM   #4
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
It appears to be 0.95.0 there. Btw, the project website is misleading, it says the latest is 0.95.0 but it isn't.
 
Old 06-24-2009, 10:33 AM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298

Original Poster
Blog Entries: 61

Rep: Reputation: Disabled
I'll get the 0.95.2 source, edit the SlackBuild, and try again.
Edit:
Huh, no, I was thinking of the DDD not the lesstif SlackBuild. My brain had gone into hibernation.

Last edited by brianL; 06-24-2009 at 10:39 AM.
 
Old 06-24-2009, 10:46 AM   #6
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
I tried compiling DDD w/out the Slackbuild, trying different options, but all failed due to the same error. I don't think there's any way out other than updating lesstif.
 
Old 06-24-2009, 11:12 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298

Original Poster
Blog Entries: 61

Rep: Reputation: Disabled
I wasn't in any rush to get DDD, so I might wait and see if lesstif gets "officially" updated.
 
Old 06-25-2009, 06:49 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298

Original Poster
Blog Entries: 61

Rep: Reputation: Disabled
I should have started a new thread for this. I wonder if some kind Moderator could move posts #6 and #8 to #15 to a new thread entitled "DDD SlackBuild problem"?
 
Old 06-25-2009, 07:41 AM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by brianL View Post
I should have started a new thread for this. I wonder if some kind Moderator could move posts #6 and #8 to #15 to a new thread entitled "DDD SlackBuild problem"?
I have no Slackware 12.2 handy at the moment but could you try this (taken from http://bugs.gentoo.org/show_bug.cgi?id=193505#c36):

Code:
> This looks like a problem with lesstif-0.95.0; I get the same
> VendorShellClassRec error when compiling xpdf.  While I don't know whether it's
> the correct fix, moving the line
>     #include <X11/ShellP.h>
> to below the
>     #ifdef __cplusplus
>     extern "C" {
>     #endif
> in /usr/include/Xm/VendorSP.h solved the problem for me.

This fix works perfectly, thanks for the help
>
Eric
 
Old 06-25-2009, 08:08 AM   #10
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298

Original Poster
Blog Entries: 61

Rep: Reputation: Disabled
Thanks, Eric, I'll try that.
 
Old 06-25-2009, 08:29 AM   #11
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298

Original Poster
Blog Entries: 61

Rep: Reputation: Disabled
Yes, that solved it. DDD built and installed OK.
 
Old 06-25-2009, 09:22 AM   #12
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
As a reply to Ilgar's post in the wrong thread (http://www.linuxquestions.org/questi...84#post3584784)

Quote:
Originally Posted by Ilgar
Indeed the latest version is 0.95.2 (just checked it), released on May 29 2009:

http://sourceforge.net/project/showf...?group_id=8596

And it includes the relevant fix:

http://sourceforge.net/project/shown...ease_id=685588


So maybe it's time for Pat to update lesstif in -current?
Slackware-current not have the problem with lesstif that you are seeing in Slackware 12.2.

Eric
 
Old 06-25-2009, 12:21 PM   #13
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by Alien Bob View Post
As a reply to Ilgar's post in the wrong thread...
Umm actually that post should've been moved here, it was posted before the split.
 
Old 06-25-2009, 12:30 PM   #14
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Thanks AlienBob for the header file fix. I built the package on Slackware 12.0 with your change.
 
  


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
problem installing DDD vijaya_svk Linux - Software 4 02-12-2014 04:16 AM
sed command to replace ddd.mm.ss.s with ddd:mm:ss.s? johnpaulodonnell Programming 4 06-08-2007 06:57 AM
problem building ddd whitesuit Slackware 2 10-09-2006 10:08 PM
problem with ddd morph_ind Programming 3 06-02-2005 02:12 PM
ddd problem trutnev Linux - Software 0 02-23-2004 09:38 AM

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

All times are GMT -5. The time now is 06:12 PM.

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