LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   enblend-enfuse.SlackBuild bug (http://www.linuxquestions.org/questions/slackware-14/enblend-enfuse-slackbuild-bug-4175461517/)

slacksam 05-11-2013 04:05 AM

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


Alien Bob 05-11-2013 04:38 AM

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

slacksam 05-11-2013 05:01 AM

TeX is installed:
Code:

$ tex -v
TeX 3.141592 (Web2C 7.5.4)
kpathsea version 3.5.4


willysr 05-11-2013 07:27 AM

Use su - instead of just su

slacksam 05-11-2013 08:17 AM

Quote:

Use su - instead of just su
That's what I did. I always use
Code:

$ su -
when compiling or installing packages.

titopoquito 05-11-2013 01:53 PM

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.

titopoquito 05-12-2013 05:11 AM

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.

slacksam 05-12-2013 10:44 AM

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.

slacksam 05-12-2013 05:33 PM

On the installation on the virtual machine the same error occurred. :(

Btw: It's a full install without KDE, KDEI and Y

titopoquito 05-13-2013 04:09 AM

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.

titopoquito 05-13-2013 05:12 AM

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.

slacksam 05-13-2013 08:15 AM

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! :)

titopoquito 05-13-2013 12:58 PM

Quote:

Originally Posted by slacksam (Post 4950098)
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 :)

slacksam 05-13-2013 01:28 PM

1 Attachment(s)
I'm proud to present my first SlackBuild :D
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")

titopoquito 05-13-2013 02:57 PM

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 ;)


All times are GMT -5. The time now is 03:59 AM.