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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-15-2013, 05:03 AM
|
#1
|
Member
Registered: Jan 2008
Location: North Carolina
Distribution: Slackware 14.1
Posts: 211
Rep:
|
Amaya for 14.1
Has anyone tried to build amaya from slackbuilds? I installed the two dependency's listed, wxPython and raptor but I get and error and it wont build.
Syntax errorPRS=`pwd`/../bin/prs ; \
cd ../../amaya; THOTDIR=`pwd`/.. ;export THOTDIR; \
$STR -D_UNIX -DXML_GENERIC -D_GL -D_WX -DTEMPLATES -DSSL -D_SVG -DTEMPLATES -DANNOTATIONS -DDAV -DHT_DAV -DXML_DTD -DXML_NS XML ;\
$PRS -D_UNIX -DXML_GENERIC -D_GL -D_WX -DTEMPLATES -DSSL -D_SVG -DTEMPLATES -DANNOTATIONS -DDAV -DHT_DAV -DXML_DTD -DXML_NS XMLP ;\
$PRS -D_UNIX -DXML_GENERIC -D_GL -D_WX -DTEMPLATES -DSSL -D_SVG -DTEMPLATES -DANNOTATIONS -DDAV -DHT_DAV -DXML_DTD -DXML_NS -DPAGE XMLP XMLPP ;\
$PRS -D_UNIX -DXML_GENERIC -D_GL -D_WX -DTEMPLATES -DSSL -D_SVG -DTEMPLATES -DANNOTATIONS -DDAV -DHT_DAV -DXML_DTD -DXML_NS -DPAGE -DLANDSCAPE XMLP XMLPL ;\
$PRS -D_UNIX -DXML_GENERIC -D_GL -D_WX -DTEMPLATES -DSSL -D_SVG -DTEMPLATES -DANNOTATIONS -DDAV -DHT_DAV -DXML_DTD -DXML_NS -DUS_PAPER XMLP XMLPPUS ;\
$PRS -D_UNIX -DXML_GENERIC -D_GL -D_WX -DTEMPLATES -DSSL -D_SVG -DTEMPLATES -DANNOTATIONS -DDAV -DHT_DAV -DXML_DTD -DXML_NS -DUS_PAPER -DLANDSCAPE XMLP XMLUSL
/bin/sh: line 2: -D_UNIX: command not found
*ERR line 1
/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
*
Syntax error*ERR line 1
/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
*
Syntax error*ERR line 1
/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
*
Syntax error*ERR line 1
/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
*
Syntax error*ERR line 1
/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
*
Syntax errorTRA=`pwd`/../bin/tra ; \
cd ../../amaya; THOTDIR=`pwd`/.. ;export THOTDIR ;\
$TRA -D_UNIX -DXML_GENERIC -D_GL -D_WX -DTEMPLATES -DSSL -D_SVG -DTEMPLATES -DANNOTATIONS -DDAV -DHT_DAV -DXML_DTD -DXML_NS XMLT
*ERR line 1
/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
*
Syntax error(if test "../../amaya" != "" -a "../../amaya" != "." ; then \
/usr/bin/cp ../../amaya/HTML.A . ; \
/usr/bin/cp ../../amaya/HTML.STR . ; \
fi)
/usr/bin/cp: cannot stat '../../amaya/HTML.STR': No such file or directory
make[1]: *** [HTML.h] Error 1
make[1]: Leaving directory `/tmp/SBo/Amaya11.4.4/Amaya/build/amaya'
tar: /home/greg/Downloads/amaya/Dutch.tgz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
I only posted the last error but it seemed to have repeated the same error around a half dozen times before giving up.
|
|
|
12-15-2013, 07:38 AM
|
#2
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,344
|
I think this happens because you haven't downloaded all the needed source tarballs
http://slackbuilds.org/repository/14...lopment/amaya/
(for curiosity I tested downloading only the main source tarball and got the same errors as you).
Last edited by ponce; 12-15-2013 at 09:08 AM.
|
|
|
12-15-2013, 02:29 PM
|
#3
|
Member
Registered: Jan 2008
Location: North Carolina
Distribution: Slackware 14.1
Posts: 211
Original Poster
Rep:
|
Thank you Ponce.
That was the problem, didn't realize all those language packs would be required. I guess I should have realized they were there for a reason.
|
|
|
12-15-2013, 03:14 PM
|
#4
|
Member
Registered: Jan 2008
Location: North Carolina
Distribution: Slackware 14.1
Posts: 211
Original Poster
Rep:
|
Ok, Now that I have it installed it wont run.
If I click on it from the Kde menu nothing happens and tried launching it directly from the terminal also with no luck.
root@localhost:/usr/bin# locate amaya
/var/log/scripts/amaya-11.4.4-i486-1_SBo
/var/log/packages/amaya-11.4.4-i486-1_SBo
/home/greg/Downloads/slackbuilds/amaya
/home/greg/Downloads/slackbuilds/amaya/amaya.desktop
/home/greg/Downloads/slackbuilds/amaya/German.tgz
/home/greg/Downloads/slackbuilds/amaya/Swedish.tgz
/home/greg/Downloads/slackbuilds/amaya/README
/home/greg/Downloads/slackbuilds/amaya/slack-desc
/home/greg/Downloads/slackbuilds/amaya/Italian.tgz
/home/greg/Downloads/slackbuilds/amaya/amaya.info
/home/greg/Downloads/slackbuilds/amaya/Dutch.tgz
/home/greg/Downloads/slackbuilds/amaya/patches
/home/greg/Downloads/slackbuilds/amaya/patches/amaya-fix-thotlib-png14.patch
/home/greg/Downloads/slackbuilds/amaya/patches/explicite_linking2.patch
/home/greg/Downloads/slackbuilds/amaya/patches/gzread.patch
/home/greg/Downloads/slackbuilds/amaya/amaya-sources-11.4.4.tgz
/home/greg/Downloads/slackbuilds/amaya/Spanish.tgz
/home/greg/Downloads/slackbuilds/amaya/doinst.sh
/home/greg/Downloads/slackbuilds/amaya/amaya.SlackBuild
/home/greg/Downloads/slackpackages/amaya-11.4.4-i486-1_SBo.tgz
/home/greg/.kde/share/apps/RecentDocuments/amaya.info.desktop
/usr/doc/amaya-11.4.4
/usr/doc/amaya-11.4.4/amaya.SlackBuild
/usr/doc/amaya-11.4.4/README
/usr/share/pixmaps/amaya.png
/usr/share/applications/amaya.desktop
/usr/bin/amaya
root@localhost:/usr/bin# /usr/share/applications/amaya.desktop
-su: /usr/share/applications/amaya.desktop: Permission denied
root@localhost:/usr/bin# /usr/bin/amaya
-su: /usr/bin/amaya: No such file or directory
root@localhost:/usr/bin#
also /usr/bin/amaya is a link with this address ../../opt/Amaya/wx/bin/amaya. Nothing like that showed up when I ran locate, granted I'm not the most advanced user but I would be grateful for any assistance.
Last edited by itsgregman; 12-15-2013 at 04:54 PM.
|
|
|
12-16-2013, 04:10 AM
|
#5
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,344
|
Ok, thanks for the additional report, I just verified this: as reported on ArchLinux, amaya won't build correctly with gcc-4.8.x, not even the version on git, so it's not compatible with Slackware 14.1.
I'll commit a removal from the SBo repository.
Last edited by ponce; 12-16-2013 at 04:15 AM.
|
|
|
12-16-2013, 05:04 AM
|
#6
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,344
|
if you like to test it, I prepared a script that repackages the debian binary, but it's not submission-ready as the binary seems to be linked to an incompatible version of libpng (so definitely this won't go on SBo)
http://ponce.cc/slackware/testing/amaya/
|
|
|
12-16-2013, 07:48 AM
|
#7
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
|
Ewww -gcc-4.8! That's that C compiler written in C++... Go figger, a compiler which can't compile itself -isn't that the gold-standard??
|
|
|
All times are GMT -5. The time now is 05:08 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
|
|