LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-11-2013, 04:05 AM   #1
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Rep: Reputation: 37
Lightbulb enblend-enfuse.SlackBuild bug


Trying to compile the enblend-enfuse package from the current SlackBuilds Repository (Slackware 14.0) I got an Error:
Code:
gzip: /usr/src/enblend-enfuse/package-enblend-enfuse/usr/info/*.info: No such file or directory
sh enblend-enfuse.SlackBuild Failed
So I had to comment out the following lines in the enblend-enfuse.SlackBuild to make it work:
Code:
gzip -9 $PKG/usr/man/man?/*.?
gzip -9 $PKG/usr/info/*.info
rm -rf $PKG/usr/info/dir
changed to
Code:
gzip -9 $PKG/usr/man/man?/*.?
#gzip -9 $PKG/usr/info/*.info
#rm -rf $PKG/usr/info/dir
 
Old 05-11-2013, 04:38 AM   #2
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
The first thing that comes to mind is that you did not install the "T" package series, more specifically TeX. TeX is used to compile .info files.

Eric
 
Old 05-11-2013, 05:01 AM   #3
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Original Poster
Rep: Reputation: 37
TeX is installed:
Code:
$ tex -v
TeX 3.141592 (Web2C 7.5.4)
kpathsea version 3.5.4
…
 
Old 05-11-2013, 07:27 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Use su - instead of just su
 
Old 05-11-2013, 08:17 AM   #5
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Original Poster
Rep: Reputation: 37
Quote:
Use su - instead of just su
That's what I did. I always use
Code:
$ su -
when compiling or installing packages.
 
Old 05-11-2013, 01:53 PM   #6
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 146Reputation: 146
I will take a look at that tomorrow. Can't remember that these lines gave errors for me, but I will see and submit an update in case I can confirm the errors.
 
Old 05-12-2013, 05:11 AM   #7
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 146Reputation: 146
I can not confirm the errors, the build is working fine here without any problem on an Slackware64 14.0 virtual build box.

Edit: I have no 32bit build box at the moment, so I don't know if this could cause the errors you get.
 
Old 05-12-2013, 10:44 AM   #8
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Original Poster
Rep: Reputation: 37
Thank you for trying.
I'm using a 32bit installation of Slackware 14.0.
Now I'm setting up a virtual machine with Slackware 14.0 32bit and will give it another try.
 
Old 05-12-2013, 05:33 PM   #9
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Original Poster
Rep: Reputation: 37
On the installation on the virtual machine the same error occurred.

Btw: It's a full install without KDE, KDEI and Y
 
Old 05-13-2013, 04:09 AM   #10
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 146Reputation: 146
Well ... I set up a 32bit virtual build box, too. The compiles of gsl, libxmi, vigra and in the end enblend-enfuse went through without any problem. In the enblend-enfuse package I can see a manpage as well as an info page.

I don't know what's giving you these errors, but I suspect that you may have changed your system in any way. I cannot imagine that it's something in the KDE and KDEI series, but what do I know

Edit: Typo.

Last edited by titopoquito; 05-13-2013 at 04:36 AM.
 
Old 05-13-2013, 05:12 AM   #11
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 146Reputation: 146
Addendum: When I tried to compile the newer enblend-enfuse for the first time, I actually got errors, but not the ones you got. gcc gave an "internal compiler error" which went away as soon as I raised the virtual machines RAM. Just for the record, in case you should see something similar on your tries.
 
Old 05-13-2013, 08:15 AM   #12
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Original Poster
Rep: Reputation: 37
Thank you for checking.

I'm trying to find what's missing on my installations.

With this comand line
Code:
# sh enblend-enfuse.SlackBuild 2> error.log
I got this "error.log":
Code:
configure: WARNING: missing Perl module Time::Zone
configure: WARNING: cannot find tidy; will not be able to build XHTML documentation
In file included from enblend.cc:174:0:
common.h: In instantiation of 'NumericType enblend::numberOfString(const char*, Validator1, const string&, NumericType, Validator2, const string&, NumericType) [with NumericType = unsigned int; Validator1 = boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::relational_action<boost::lambda::greaterorequal_action>, boost::tuples::tuple<boost::lambda::lambda_functor<boost::lambda::placeholder<1> >, const unsigned int, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > >; Validator2 = boost::lambda::lambda_functor<boost::lambda::identity<const bool> >; std::string = std::basic_string<char>]':
common.h:528:90:   required from 'NumericType enblend::numberOfString(const char*, Validator, const string&, NumericType) [with NumericType = unsigned int; Validator = boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::relational_action<boost::lambda::greaterorequal_action>, boost::tuples::tuple<boost::lambda::lambda_functor<boost::lambda::placeholder<1> >, const unsigned int, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > >; std::string = std::basic_string<char>]'
enblend.cc:1343:47:   required from here
common.h:463:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
common.h:463:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
common.h:478:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/tmp/SBo/enblend-enfuse-4.1.1/missing: line 52: help2man: command not found
WARNING: `help2man' is missing on your system.  You should only need it if
	 you modified a dependency of a manual page.  You may need the
	 `Help2man' package in order for those modifications to take
	 effect.  You can get `Help2man' from any GNU archive site.
/tmp/SBo/enblend-enfuse-4.1.1/missing: line 52: help2man: command not found
WARNING: `help2man' is missing on your system.  You should only need it if
	 you modified a dependency of a manual page.  You may need the
	 `Help2man' package in order for those modifications to take
	 effect.  You can get `Help2man' from any GNU archive site.
gzip: /tmp/SBo/package-enblend-enfuse/usr/info/*.info: No such file or directory
So I installed .

Now the "error.log" looks like this
Code:
In file included from enblend.cc:174:0:
common.h: In instantiation of 'NumericType enblend::numberOfString(const char*, Validator1, const string&, NumericType, Validator2, const string&, NumericType) [with NumericType = unsigned int; Validator1 = boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::relational_action<boost::lambda::greaterorequal_action>, boost::tuples::tuple<boost::lambda::lambda_functor<boost::lambda::placeholder<1> >, const unsigned int, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > >; Validator2 = boost::lambda::lambda_functor<boost::lambda::identity<const bool> >; std::string = std::basic_string<char>]':
common.h:528:90:   required from 'NumericType enblend::numberOfString(const char*, Validator, const string&, NumericType) [with NumericType = unsigned int; Validator = boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::relational_action<boost::lambda::greaterorequal_action>, boost::tuples::tuple<boost::lambda::lambda_functor<boost::lambda::placeholder<1> >, const unsigned int, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > >; std::string = std::basic_string<char>]'
enblend.cc:1343:47:   required from here
common.h:463:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
common.h:463:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
common.h:478:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Could not find/open font when opening font "arial", using internal non-scalable font
Could not find/open font when opening font "arial", using internal non-scalable font
Could not find/open font when opening font "arial", using internal non-scalable font
Could not find/open font when opening font "arial", using internal non-scalable font
Could not find/open font when opening font "arial", using internal non-scalable font
Could not find/open font when opening font "arial", using internal non-scalable font
Could not find/open font when opening font "arial", using internal non-scalable font
./
install/
install/slack-desc
usr/
usr/man/
usr/man/man1/
usr/man/man1/enfuse.1.gz
usr/man/man1/enblend.1.gz
usr/bin/
usr/bin/enfuse
usr/bin/enblend
usr/info/
usr/info/enfuse.info.gz
usr/info/enblend.info.gz
usr/doc/
usr/doc/enblend-enfuse-4.1.1/
usr/doc/enblend-enfuse-4.1.1/ChangeLog
usr/doc/enblend-enfuse-4.1.1/README
usr/doc/enblend-enfuse-4.1.1/NEWS
usr/doc/enblend-enfuse-4.1.1/COPYING
usr/doc/enblend-enfuse-4.1.1/AUTHORS
usr/doc/enblend-enfuse-4.1.1/VERSION
usr/doc/enblend-enfuse-4.1.1/README.txt
usr/doc/enblend-enfuse-4.1.1/enblend-enfuse.SlackBuild
and the package is built!
 
Old 05-13-2013, 12:58 PM   #13
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by slacksam View Post
So I installed .

Now the "error.log" looks like this
Code:
...code snipped...
and the package is built!
Looks like the only package you really needed is kdewebdev. You definitely don't need perl-TimeDate or help2man to build this. That's why a full install is supported only at SlackBuilds.org - I would not have guessed that something from the KDE series was missing, but here we are
 
Old 05-13-2013, 01:28 PM   #14
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Original Poster
Rep: Reputation: 37
I'm proud to present my first SlackBuild
It's for Tidy. So it's not necessary to install the "kdewebdev" package to build "enblend-enfuse".

(rename the "tidy.tar.gz.txt" to "tidy.tar.gz")
Attached Files
File Type: txt tidy.tar.gz.txt (2.8 KB, 22 views)
 
Old 05-13-2013, 02:57 PM   #15
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 146Reputation: 146
No, it might be not necessary, but for me installing a stock Slackware package that I have anyway, that only is 1,8 MB (compressed) and not having to find workarounds seems seems much easier. I guess I'm just lazy
 
  


Reply



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
[BUG?] alienbob openjdk.SlackBuild zerouno Slackware 7 08-02-2012 05:39 PM
[BUG] in seamonkey 2.9 slackbuild; does not create usr/include/seamonkey-2.9/nss -> . zerouno Slackware 5 05-02-2012 03:21 AM
emacs slackbuild bug: missing kde menu icon zavko Slackware 1 05-07-2010 02:04 PM
SlackBuild.org nvidia kernel build script bug Woodsman Slackware 3 04-06-2008 07:48 PM
LXer: Blending photos with Enfuse LXer Syndicated Linux News 0 02-20-2008 11:20 PM

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

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