LinuxQuestions.org
Visit Jeremy's Blog.
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 01-23-2009, 06:26 PM   #16
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32

No... There was no 'gzipping package' message.


But, I did get LyX 1.6.0 to install with ./configure, make, make install. And, it seems OK now. I was able to work out why my file was getting truncated... When I manually added page breaks it was OK.

Also, even though I cannot print directly from LyX, I can now export to .pdf and print from pdf viewers, so that's OK, too.

This is the only time I can remember having any issues with a SlackBuild. Usually, they work flawlessly.

The only thing I have left to do is use 'Menu Editor' to manually add LyX.

Because LyX was installed without a SlackBuild, it doesn't show up in the list when I try to use pkgtool to remove it. I'm happy to try rerunning the SlackBuild script (without installing). There's a lot of output (as you know).

Thanks,
-Joe

Thanks Astrogeek!!

-Joe

Last edited by joegumbo; 01-23-2009 at 06:33 PM.
 
Old 01-23-2009, 06:41 PM   #17
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quote:
Originally Posted by joegumbo View Post
I did get LyX 1.6.0 to install with ./configure, make, make install...
Also, even though I cannot print directly from LyX, I can now export to .pdf and print from pdf viewers, so that's OK, too.
I was going to suggest that next but wanted to find out why the package would not build if possible... a project for more of your free time I suppose.

Mine prints without any issues, I am using CUPS to manage my printers on the local network. If you do not have CUPS going that might be a good next step for you - but glad you have Lyx working! I know you will be happier with LyX 1.6, makes many things easier.

I have had a few stumbles with LyX, almost always related to some obscure LaTeX syntax or issue. For example, if you create a document with many floats in it, it will eventually choke. The simple fix is to add a few \clearpage instructions every once in a while. You will find many such tips online - well worth the effort to stick with it though!

Glad to meet you, good luck with your studies!
 
Old 01-23-2009, 06:54 PM   #18
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
I'm rerunning the SlackBuild script now. I'll post the last section of output inside code tags to save space. If you or anyone else wants, I'll rerun the SlackBuild again overnight and try

./lyx_qt4.SlackBuild 2>&1 /home/joegumbo/output_LyX_SBo and see if I can post it somewhere accessible online.

Greeat to meet you too, astrogeek!! Good luck with your project, too!

Thanks for your help and patience!!

-Joe

Last edited by joegumbo; 01-24-2009 at 02:15 PM. Reason: Mispelled SlackBuild
 
Old 01-23-2009, 07:57 PM   #19
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
Here is the end of the output from running the lyx_qt4.SlackBuild:

Code:
/usr/bin/ginstall -c -m 644 'templates/revtex.lyx' '/tmp/SBo/package-lyx_qt4/usr/share/lyx/templates/revtex.lyx'
 /usr/bin/ginstall -c -m 644 'templates/revtex4.lyx' '/tmp/SBo/package-lyx_qt4/usr/share/lyx/templates/revtex4.lyx'
 /usr/bin/ginstall -c -m 644 'templates/slides.lyx' '/tmp/SBo/package-lyx_qt4/usr/share/lyx/templates/slides.lyx'
test -z "/usr/share/lyx/tex" || /usr/bin/mkdir -p "/tmp/SBo/package-lyx_qt4/usr/share/lyx/tex"
 /usr/bin/ginstall -c -m 644 'tex/broadway.cls' '/tmp/SBo/package-lyx_qt4/usr/share/lyx/tex/broadway.cls'
 /usr/bin/ginstall -c -m 644 'tex/hollywood.cls' '/tmp/SBo/package-lyx_qt4/usr/share/lyx/tex/hollywood.cls'
 /usr/bin/ginstall -c -m 644 'tex/lyxchess.sty' '/tmp/SBo/package-lyx_qt4/usr/share/lyx/tex/lyxchess.sty'
 /usr/bin/ginstall -c -m 644 'tex/lyxskak.sty' '/tmp/SBo/package-lyx_qt4/usr/share/lyx/tex/lyxskak.sty'
 /usr/bin/ginstall -c -m 644 'tex/revtex.cls' '/tmp/SBo/package-lyx_qt4/usr/share/lyx/tex/revtex.cls'
test -z "/usr/share/lyx/ui" || /usr/bin/mkdir -p "/tmp/SBo/package-lyx_qt4/usr/share/lyx/ui"
 /usr/bin/ginstall -c -m 644 'ui/classic.ui' '/tmp/SBo/package-lyx_qt4/usr/share/lyx/ui/classic.ui'
 /usr/bin/ginstall -c -m 644 'ui/default.ui' '/tmp/SBo/package-lyx_qt4/usr/share/lyx/ui/default.ui'
 /usr/bin/ginstall -c -m 644 'ui/stdcontext.inc' '/tmp/SBo/package-lyx_qt4/usr/share/lyx/ui/stdcontext.inc'
 /usr/bin/ginstall -c -m 644 'ui/stdmenus.inc' '/tmp/SBo/package-lyx_qt4/usr/share/lyx/ui/stdmenus.inc'
 /usr/bin/ginstall -c -m 644 'ui/stdtoolbars.inc' '/tmp/SBo/package-lyx_qt4/usr/share/lyx/ui/stdtoolbars.inc'
make  install-data-hook
make[4]: Entering directory `/tmp/SBo/lyx-1.6.0/lib'
chmod 755 /tmp/SBo/package-lyx_qt4/usr/share/lyx/configure.py
for i in scripts/TeXFiles.py scripts/clean_dvi.py scripts/csv2lyx.py scripts/convertDefault.py scripts/date.py scripts/ext_copy.py scripts/fen2ascii.py scripts/fig2pdftex.py scripts/fig2pstex.py scripts/fig_copy.py scripts/layout2layout.py scripts/legacy_lyxpreview2ppm.py scripts/listerrors scripts/lyxpreview2bitmap.py scripts/lyxpreview-platex2bitmap.py scripts/lyxpreview_tools.py scripts/tex_copy.py; do \
                chmod 755 /tmp/SBo/package-lyx_qt4/usr/share/lyx/$i; \
        done
make[4]: Leaving directory `/tmp/SBo/lyx-1.6.0/lib'
make[3]: Leaving directory `/tmp/SBo/lyx-1.6.0/lib'
make[2]: Leaving directory `/tmp/SBo/lyx-1.6.0/lib'
make[1]: Leaving directory `/tmp/SBo/lyx-1.6.0/lib'
Making install in src/client
make[1]: Entering directory `/tmp/SBo/lyx-1.6.0/src/client'
make  install-am
make[2]: Entering directory `/tmp/SBo/lyx-1.6.0/src/client'
make[3]: Entering directory `/tmp/SBo/lyx-1.6.0/src/client'
test -z "/usr/bin" || /usr/bin/mkdir -p "/tmp/SBo/package-lyx_qt4/usr/bin"
  /bin/sh ../../libtool   --mode=install /usr/bin/ginstall -c 'lyxclient' '/tmp/SBo/package-lyx_qt4/usr/bin/lyxclient'
/usr/bin/ginstall -c lyxclient /tmp/SBo/package-lyx_qt4/usr/bin/lyxclient
test -z "/usr/man/man1" || /usr/bin/mkdir -p "/tmp/SBo/package-lyx_qt4/usr/man/man1"
 /usr/bin/ginstall -c -m 644 './lyxclient.1' '/tmp/SBo/package-lyx_qt4/usr/man/man1/lyxclient.1'
make[3]: Leaving directory `/tmp/SBo/lyx-1.6.0/src/client'
make[2]: Leaving directory `/tmp/SBo/lyx-1.6.0/src/client'
make[1]: Leaving directory `/tmp/SBo/lyx-1.6.0/src/client'
Making install in src/tex2lyx
make[1]: Entering directory `/tmp/SBo/lyx-1.6.0/src/tex2lyx'
make  install-am
make[2]: Entering directory `/tmp/SBo/lyx-1.6.0/src/tex2lyx'
make[3]: Entering directory `/tmp/SBo/lyx-1.6.0/src/tex2lyx'
test -z "/usr/bin" || /usr/bin/mkdir -p "/tmp/SBo/package-lyx_qt4/usr/bin"
  /bin/sh ../../libtool   --mode=install /usr/bin/ginstall -c 'tex2lyx' '/tmp/SBo/package-lyx_qt4/usr/bin/tex2lyx'
/usr/bin/ginstall -c tex2lyx /tmp/SBo/package-lyx_qt4/usr/bin/tex2lyx
test -z "/usr/man/man1" || /usr/bin/mkdir -p "/tmp/SBo/package-lyx_qt4/usr/man/man1"
 /usr/bin/ginstall -c -m 644 './tex2lyx.1' '/tmp/SBo/package-lyx_qt4/usr/man/man1/tex2lyx.1'
make[3]: Leaving directory `/tmp/SBo/lyx-1.6.0/src/tex2lyx'
make[2]: Leaving directory `/tmp/SBo/lyx-1.6.0/src/tex2lyx'
make[1]: Leaving directory `/tmp/SBo/lyx-1.6.0/src/tex2lyx'
make[1]: Entering directory `/tmp/SBo/lyx-1.6.0'
make[2]: Entering directory `/tmp/SBo/lyx-1.6.0'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/man/man1" || /usr/bin/mkdir -p "/tmp/SBo/package-lyx_qt4/usr/man/man1"
 /usr/bin/ginstall -c -m 644 './lyx.1' '/tmp/SBo/package-lyx_qt4/usr/man/man1/lyx.1'
make[2]: Leaving directory `/tmp/SBo/lyx-1.6.0'
make[1]: Leaving directory `/tmp/SBo/lyx-1.6.0'
cp: cannot stat `ChangeLog': No such file or directory
root@Slackware_0:/home/joegumbo/lyx/lyx_qt4#
Btw, I'm using an HP All-in-One with the HP toolbox started with:
LC_ALL=$LANG.UTF8 hp-toolbox

Thanks again,
-Joe

Last edited by joegumbo; 01-23-2009 at 08:02 PM.
 
Old 01-23-2009, 08:31 PM   #20
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
That is it!

Pardon my cajun-french, but #$!@$#!%!!$$$$!!*&%^%!

There is no 'ChangeLog' file in LyX 1.6... I had commented that out of my own build script but made no note of it and MY degree of idiocy has been such that I did not even see the change when I checked and double-checked my slackbuild script - and did not run a diff on it!

Find this line:

Code:
cp -a ABOUT-NLS ANNOUNCE ChangeLog COPYING INSTALL* NEWS
...and remove the 'ChangeLog' filename from it and build your LyX package...

Where is the icon for egg-on-face?...
 
Old 01-23-2009, 10:23 PM   #21
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
Congratulations astrogeek!!!!

You've now solved this for me and for anyone else wanting to use a newer version of LyX with the SlackBuild script.


Thank you !
-Joe

Last edited by joegumbo; 01-23-2009 at 10:26 PM.
 
Old 01-24-2009, 12:07 AM   #22
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
(Btw, if anyone has egg on his face, it should be me. I kept looking at the output, but without full comprehension. Good work!)
 
Old 01-24-2009, 01:28 AM   #23
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Thanks for the nice comments Joe!

I'll graciously accept your offer to share the blame - one person could not have missed such a simple thing for so long - it took a team effort!

Good luck with LyX. I might also suggest that you get the SlackBuild for JPicEdt from SBo, a great little java application for creating postscript graphics - a natural for use with LyX!

I have also written a guide for using pstricks and raster graphics with LyX, intended only for our in-house use but if you would like a copy I'll put it where you can grab one. Not in depth but gets you going quickly and solves an old Acrobat problem with a simple work-around.
 
Old 01-24-2009, 01:03 PM   #24
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
OK! We'll both accept blame haha

I'll take your advice and install JPicEdt. Thanks yet again for this tip.

As for the guide, I'd really feel like I was taking too much advantage. You've been too kind already! You've been so generous with your time and expertise, I'm at a loss for words.

You are a truly great person, astrogeek!

-Joe

Last edited by joegumbo; 01-24-2009 at 01:09 PM.
 
Old 01-24-2009, 02:06 PM   #25
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
I just checked...

There's no JPicEdt.SlackBuild for Sw 12.1... But, there is a SlackBuild for 12.2.
 
Old 01-24-2009, 03:40 PM   #26
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quote:
Originally Posted by joegumbo View Post
You are a truly great person, astrogeek!
WOW! Recognition! Yes I am actually! Until you get to know me better...

The JPicEdt Slackbuild is pretty much version agnostic as long as your Java is recent enough - and 12.1 is fine.

A note: I had some early frustrations with JPicEdt not working the way I expected... I gave in and read the Help pages that are included and it was my expectations that were skewed - not the app. If you seem to have problems with hatch, fill, etc. not doing what you want, read the fine help pages... it works great - produces excellent illustrations for LyX docs!

And be sure to set Edit >> Preferences >> Default formatter to PSTricks, add \usepackage{pstricks} to the preamble of documents that use these drawings and name your work with .pst filename extension.

Last edited by astrogeek; 01-24-2009 at 03:41 PM.
 
  


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
VirtualBox.SlackBuild problems joegumbo Slackware 2 09-01-2008 01:44 PM
question about SLACKBUILD: clamav and problems with milter ragebot Slackware 13 08-21-2008 03:36 PM
Problems recompiling WindowMaker from original slackbuild garr0n Slackware 8 03-06-2007 11:00 AM
LyX and LyX-CJK wushan Linux - Software 0 07-27-2005 11:15 PM

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

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