LinuxQuestions.org
Help answer threads with 0 replies.
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 07-17-2016, 12:18 AM   #106
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 231

Original Poster
Rep: Reputation: 45

Nobodino,

Finally worked my way through most of your scripts from 2016-06-29.
The final problem in build3_s.list was upower. It refused to build because of
a broken link (/usr/lib64/libgudev-1.0.so.0) pointing to /lib64/libgudev-1.0.so.0.1.1
which I believe was from the old udev package. At least it kept telling me that udev-184
was too old. When I changed it to point to /lib64/libgudev-1.0.so.0.2.0 everything worked.

I think the pointer was left over from processing elflibs at the end of build1_s.list.
 
1 members found this post helpful.
Old 07-20-2016, 07:00 PM   #107
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 231

Original Poster
Rep: Reputation: 45
Okay, I surrender. Please tell me you are taking prisoners.

I've been working on compiling a2ps using the SW14.2 slackbuild.
A2ps builds until it hits the documentation, then the following
error messages show:


Quote:
make[1]: Entering directory '/tmp/a2ps-4.14/doc'
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/sh /tmp/a2ps-4.14/auxdir/missing --run makeinfo --version) >/dev/null 2>&1; then \
for f in a2ps.info a2ps.info-[0-9] a2ps.info-[0-9][0-9] a2ps.i[0-9] a2ps.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/sh /tmp/a2ps-4.14/auxdir/missing --run makeinfo -I . \
-o a2ps.info a2ps.texi; \
then \
rc=0; \
cd .; \
else \
rc=$?; \
cd . && \
$restore $backupdir/* `echo "./a2ps.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
a2ps.texi:47: warning: redefining Texinfo language command: @LaTeX
a2ps.texi:422: @uref missing close brace (possibly involving @href)
a2ps.texi:420: @uref missing close brace (possibly involving @href)
a2ps.texi:435: misplaced }
a2ps.texi:521: @uref missing close brace (possibly involving @href)
a2ps.texi:2800: misplaced }
a2ps.texi:4122: misplaced }
a2ps.texi:5669: @end example seen before @var closing brace
a2ps.texi:5677: @var missing close brace
a2ps.texi:5871: @end example seen before @var closing brace
a2ps.texi:5876: @var missing close brace
a2ps.texi:6219: @end quotation seen before @i closing brace
a2ps.texi:6348: @end quotation seen before @i closing brace
a2ps.texi:6588: @end quotation seen before @i closing brace
Makefile:329: recipe for target 'a2ps.info' failed
make[1]: *** [a2ps.info] Error 1
make[1]: Leaving directory '/tmp/a2ps-4.14/doc'
Makefile:357: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

To date I've searched the internet for any hint of this problem
elsewhere, but google has not been my friend in this case.

I tried deciphering the warnings, but my knowlege of Tex and LaTex
is minimal at best. I've ordered a couple of books to remedy this,
but they won't be here for a few days.

I recompiled tetex, texinfo, gettext, and gettext-tools to no avail.

It would be greatly appreciated if someone would give me a clue as
to how to proceed.

TIA,

John
 
Old 07-20-2016, 08:21 PM   #108
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,639

Rep: Reputation: 6066Reputation: 6066Reputation: 6066Reputation: 6066Reputation: 6066Reputation: 6066Reputation: 6066Reputation: 6066Reputation: 6066Reputation: 6066Reputation: 6066
Looks like this issue: https://bugs.archlinux.org/task/36236
In that case, patch here: https://git.archlinux.org/svntogit/p...=packages/a2ps
 
Old 07-20-2016, 10:23 PM   #109
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 231

Original Poster
Rep: Reputation: 45
Thank you for the patch, Alien Bob.
I couldn't find it because I used the wrong search
patterns. Guess I need to work on that!
 
Old 07-22-2016, 11:44 PM   #110
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 231

Original Poster
Rep: Reputation: 45
Nobodino,

I finally finished testing sfsbuild4_s.list (xf86_64 only).

a2ps failed to build.
Lots of warnings leading to failure.
Fixed by a patch from Arch Linux. Thanks to Alien Bob for the pointer.
Modified sfsinit.sh to handle patch.

libtheora
Sfsbuild1.sh only built for 32 bit.
Modified to account for x86_64 build.

Xine-ui failed also.
Needed libcaca
Put libcaca ahead of xine-ui in build4_s.list.

Libcaca also failed. Had to build twice.
The java part needed caca.h to build.
Disabled java, built, installed then enabled java and rebuilt
then installed again. Modified the slackbuild and sfsbuild1.sh
to do this.

Could not get autofs to compile.
Upgraded to autofs-5.1.2 and all is okay.

clisp refused to compile. Failed 2 tests.
Fixed by applying a patch from BLFS-SVN deleting the tests.

Seamonkey will not compile unless the environmental variable SHELL
is set to "sh". "bash" is a no-no!
Error message says python environment is not sane.

Problems seem to be caused by the minor differences between x86 and xf86_64.
The attached text creates a set of patches for the sfsinit & sfsbuild1 you posted on 20160629.

Enjoy!
Attached Files
File Type: txt patches.txt (7.8 KB, 14 views)
 
Old 07-23-2016, 02:26 AM   #111
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 595

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
nice you've made progress on the build4_s.list, I'll integrate the modifications.
I made progress on the 'tools' part.
It's only based on slackware source packages, no more extra packages.
See the enclosed memo: we can build slackware with that specific 'tools' without any reference to a specific LFS version.
For the time being, it's just 'hand made', but it can be done automatically (btools), but you don't build 'tools' every morning.
It's focused on Slackware-14.2.
Attached Files
File Type: txt sfs-tools-v22072016.txt (10.3 KB, 20 views)
 
Old 07-24-2016, 09:42 PM   #112
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 231

Original Poster
Rep: Reputation: 45
Nobodino,

The attached list is the remainder of slackware packages,
generated by comparing /var/log/packages in 14.2 and SFS

Problems solved: (Again this is for x86_64 only. I currently don't
have a 32 bit partition working)

akonadi needs boost to compile. Installed boost-1.61.0
Obtained from http://www.boost.org/
Slackbuild attached.

Installed linux-faqs and linux-howtos from 14.2 packages.
These are collections of text files needing no compilation,
so my conscience is clear on this.

libwpg needs linux-faqs to compile.

psutils needed to build qt-gstreamer. psutils is built and
discarded from a2ps build. Modified a2ps slackbuild to
keep psutils package. 1 problem solved for qt-gstreamer.


Problems remaining:

gv will not compile. Configure complains it can't find Xaw3d.
So far none of the solutions I've found on the web work.

Qt-gstreamer still fails. Seems to be a boost problem,
maybe wrong version?

aspell-dict needs work. It dumps all the dictionaries at once.
Should be able to select the ones one wants. Well, it can be
done manually.

I am out of time now. The Powers That Be have decided to honor me
with jury duty. Until that is over I don't know how much time I'll
have to work on these. Will get back to them as soon as I can.

The attached file contains the list of remaining programs to compile and
the slackbuild, slack-desc for boost.


Worsel

PS Forgot to make a patch for a2ps for the above. Will get to it as
soon as I can.
Attached Files
File Type: txt list5.txt (4.8 KB, 15 views)
 
2 members found this post helpful.
Old 07-25-2016, 12:57 AM   #113
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 595

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Ok, thanks for the list5, that's what I wanted to do.
- a2ps: made the patch in sfsinit.sh
- gv, qt, firefox, thunderbird (idem seamonkey), libspectre, esound, libtheora, xpaint, xpdf...:found a solution
- qt-gstreamer, it still resists to me from now, maybe with boost, I'll try.
- boost is in d (dev) packages

I solved some old and new problems with new patches.
It's been building from last night and won't be finished until tomorrow. I chained the 3 build list (2+3+4).
I'll add list5 to see for qt-gstreamer.

Last edited by nobodino; 07-25-2016 at 01:33 AM. Reason: error
 
Old 07-27-2016, 01:22 PM   #114
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 231

Original Poster
Rep: Reputation: 45
Nobodino,

I missed one. Built it "by hand" then forgot to put it in the list. Add "xap fvwm" anywhere in the
lists after blackbox.

Worsel
 
Old 07-27-2016, 09:05 PM   #115
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 231

Original Poster
Rep: Reputation: 45
Got gv working.

There were two problems:

1. The configure script couldn't find libXaw3d. The attached
patch takes care of that.

2. Then gv wouldn't run properly. Got the following errors:

Quote:
./base/gsicc_manage.c:1126: gsicc_open_search(): Could not find default_gray.icc
| ./base/gsicc_manage.c:1754: gsicc_set_device_profile(): cannot find device profile
Unknown device: x11
Unrecoverable error: unknownerror in .special_op
Operand stack:
defaultdevice
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice

Error: PostScript interpreter failed in main window.
Fixed by recompiling ghostscript. I suspect it needs to be rebuilt after x11.
Attached Files
File Type: txt gvSB.patch.txt (273 Bytes, 11 views)

Last edited by worsel; 07-28-2016 at 04:17 PM. Reason: spelling error
 
Old 07-28-2016, 01:19 AM   #116
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 595

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
new version of sfsinit.sh and sfsbuild1.sh.
I add a new script to build sfs-tools according to the previous memo: only slackware source packages
Attached Files
File Type: txt sfs-tools.sh.txt (15.3 KB, 14 views)
File Type: txt sfsbuild1.sh.txt (72.7 KB, 16 views)
File Type: txt sfsinit.sh.txt (174.0 KB, 14 views)

Last edited by nobodino; 07-28-2016 at 01:20 AM. Reason: error
 
Old 07-29-2016, 01:29 AM   #117
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 595

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
a more polished version of sfs-tools, nothing very different: dialog box before building, check integrity of packages.
Attached Files
File Type: txt sfs-tools.sh.txt (18.4 KB, 25 views)
 
Old 07-29-2016, 09:01 PM   #118
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 231

Original Poster
Rep: Reputation: 45
Nobodino,

I just reviewed your latest sfs-tools.sh script. Nicely done.

I notice that you don't do much indenting of your code. This occassionally
makes it hard to follow. There is a program beautify_bash that you can
run it through and it indents it for you. Link below:

https://github.com/joysboy/beautify_bash

Keep up the good work

Worsel

Last edited by worsel; 07-29-2016 at 09:02 PM. Reason: spelling error
 
Old 07-30-2016, 10:25 AM   #119
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 595

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
one step forward: added kernel-source, kernel-firmware, slackpkg, qt-gstreamer.
Tries to build slackware-14.2 till the end.
kde doesn't builds completely.

Used beautify_bash for sfs-tools.sh
Attached Files
File Type: txt sfsinit.sh.txt (173.9 KB, 13 views)
File Type: txt sfsbuild1.sh.txt (74.0 KB, 18 views)
File Type: txt sfs-tools.sh.txt (19.8 KB, 16 views)

Last edited by nobodino; 07-30-2016 at 12:34 PM. Reason: error
 
Old 07-30-2016, 06:06 PM   #120
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 231

Original Poster
Rep: Reputation: 45
got them, Nobodino.

Don't know when I'll get to test them.

Don't really care about KDE. That's been built before for Slackware,
and I don't use it. Don't even load it onto my computer.

I did try your solution for qt-gstreamer. Didn't work for x86_64.
Got different errors though. Guess that's progress.
 
  


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
[SOLVED] /usr/bin/X11/X11/....... 10 X11 subsets & counting walter74 Linux - General 2 06-07-2015 12:36 AM
How do I get the /etc/X11/X file rebuilt from scratch rickh Debian 4 05-07-2006 11:06 PM
ali aladdin v agp stinks :scratch: :scratch: :scratch: Mr Marmmalade Linux - Hardware 1 07-08-2003 05:11 AM

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

All times are GMT -5. The time now is 05:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration