problems buillding lyx on slackware 9.0

2003-12-30 Thread Ralph Boland
I am attempting to install lyx on a IBM thinkpad running
slackware 9.0 linux.  (This is the computer given to my to use by Acadia 
university.
I don't think I am allowed to install say redhat (I was able to install 
lyx on
my home computer which runs redhat.  Also a few things on slactware 9.0 were
removed to make space to be able to also boot windows :-( ).

I was able to configure sucessfully using the --with-frontend=qt 
setting.   (as root)
(I am building lyx from  ~rboland/Lyx/lyx-1.3.3.)
I as able to do a make (compile)  sucessfully. (as root)

I then ran src/lyx as rboland sucessfully except that  in math mode 
mathematical
symbols are not displayed properly.  They do print properly though.
In redhat I had to install a fonts file which was a .rpm file to get 
this to work.

How do I get this file and install it using slackware 9.0?

Note that when I ran the command:

 ldd `which lyx` | grep fontconfig

I get the message:
   libfontconfig.so.1 = /usr/X11R6/lib/libfontconfig.so.1 (0x40b05000)




Upon exiting lyx I get the message:

  Mutex destroy failure:  Device or resource busy.

I am at a loss as to what this message means.

I then attempted a make install. 
Mostly it seems to work but at the end I get

...

test -f xfonts/fonts.dir || exit 0 ; \
/bin/sh ../config/mkinstalldirs /usr/local/share/lyx/xfonts ; \
files=`sed -e 's/^[0-9]*$//' -e 's/^\([^ ]*\) .*$/\1/' xfonts/fonts.dir` ; \
for i in ${files} ; do \
 ln -f -s `kpsewhich $i` /usr/local/share/lyx/xfonts/$i ; \
done ; \
/usr/bin/ginstall -c -m 644 xfonts/fonts.dir 
/usr/local/share/lyx/xfonts/fonts.dir ; \
/usr/bin/ginstall -c -m 644 xfonts/fonts.scale 
/usr/local/share/lyx/xfonts/fonts.scale
test -f xfonts/PSres.upr  /usr/bin/ginstall -c -m 644 xfonts/PSres.upr 
/usr/local/share/lyx/xfonts/PSres.upr
make[3]: *** [install-xfonts] Error 1
make[3]: Leaving directory `/home/rboland/Lyx/lyx-1.3.3/lib'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/rboland/Lyx/lyx-1.3.3/lib'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/rboland/Lyx/lyx-1.3.3/lib'

Obviously, part of the problem here relates to my need to install some 
font, presumedly
the same font I installed on redhat.  I am assuming (with some lack of 
confidence)
that installing this font will remove all these problems.

I then attempted to run lyx (as rboland). 
I get the following messages:

[EMAIL PROTECTED]:~/Lyx/lyx-1.3.3$ LyX Warning! Couldn't determine s
ystem directory. Try the '-sysdir' command line parameter or set the e
nvironment variable LYX_DIR_13x to the LyX system directory containing
the file `chkconfig.ltx'.
Using built-in default /usr/local/share/lyx but expect problems.
LyX: reconfiguring user directory
configure: error: cannot find chkconfig.ltx script
LyX: Done!
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to open character set file
Error: Textclass 'article' is missing a defaultstyle.
Error reading `'
(Check `article')
Check your installation and try Options/Reconfigure...
Operator[] called with empty n
We failed to find the layout '' in the layout list. You MUST 
investiga  te!

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting 
inst  ructions in Help-Introduction and send us 
a bug report, if necessary.   Thanks !
Bye.

I then ran locate chkconfig.ltx from / .   (after rebuilding the locate 
database).
It was found only in ~rboland/Lyx/lyx-1.3.3/lib/chkconfig.ltx.
This suggests to me that  chkconfig.ltx was supposed to be installed 
somewhere
but wasn't.

I next ran:

lyx  -sysdir=/home/rboland/Lyx/lyx-1.3.3/lib

This ran sucessfully except for the problems I had before.
That is:
1)  mathematical symbols such as \alpha, \gamma fail to display and 
instead  alpha and gamma are
displayed on the screen.  The proper symbols are displayed when printing.
2)  on exit I get the message:
  Mutex destroy failure:  Device or resource busy.

I would appreciate any help in getting this install to work
as I will be using Lyx to create all my course materials
and papers this semester.
  
I am particularly interested in having the installation of Lyx
on the laptop  be as simple as possible so that the students
in the courses that I am teaching are able to install lyx on their
laptops (which are mostly running the exact same software).
If I could build an automatically installing package
that I could give them to run that would be great
but I am not sure what is involved with doing this.

Thanks in advance for your help.

Ralph Boland

 



Re: problems buillding lyx on slackware 9.0

2003-12-30 Thread Nirmal Govind
I then ran src/lyx as rboland sucessfully except that  in math mode 
mathematical
symbols are not displayed properly.  They do print properly though.
In redhat I had to install a fonts file which was a .rpm file to get 
this to work.
You probably need to install latex-xft-fonts for the math to show 
up.. you can find the non-rpm version at:

ftp://ftp.lyx.org/pub/lyx/contrib/

I believe there are install instructions in the archive..

nirmal



problems buillding lyx on slackware 9.0

2003-12-30 Thread Ralph Boland
I am attempting to install lyx on a IBM thinkpad running
slackware 9.0 linux.  (This is the computer given to my to use by Acadia 
university.
I don't think I am allowed to install say redhat (I was able to install 
lyx on
my home computer which runs redhat.  Also a few things on slactware 9.0 were
removed to make space to be able to also boot windows :-( ).

I was able to configure sucessfully using the --with-frontend=qt 
setting.   (as root)
(I am building lyx from  ~rboland/Lyx/lyx-1.3.3.)
I as able to do a make (compile)  sucessfully. (as root)

I then ran src/lyx as rboland sucessfully except that  in math mode 
mathematical
symbols are not displayed properly.  They do print properly though.
In redhat I had to install a fonts file which was a .rpm file to get 
this to work.

How do I get this file and install it using slackware 9.0?

Note that when I ran the command:

 ldd `which lyx` | grep fontconfig

I get the message:
   libfontconfig.so.1 = /usr/X11R6/lib/libfontconfig.so.1 (0x40b05000)




Upon exiting lyx I get the message:

  Mutex destroy failure:  Device or resource busy.

I am at a loss as to what this message means.

I then attempted a make install. 
Mostly it seems to work but at the end I get

...

test -f xfonts/fonts.dir || exit 0 ; \
/bin/sh ../config/mkinstalldirs /usr/local/share/lyx/xfonts ; \
files=`sed -e 's/^[0-9]*$//' -e 's/^\([^ ]*\) .*$/\1/' xfonts/fonts.dir` ; \
for i in ${files} ; do \
 ln -f -s `kpsewhich $i` /usr/local/share/lyx/xfonts/$i ; \
done ; \
/usr/bin/ginstall -c -m 644 xfonts/fonts.dir 
/usr/local/share/lyx/xfonts/fonts.dir ; \
/usr/bin/ginstall -c -m 644 xfonts/fonts.scale 
/usr/local/share/lyx/xfonts/fonts.scale
test -f xfonts/PSres.upr  /usr/bin/ginstall -c -m 644 xfonts/PSres.upr 
/usr/local/share/lyx/xfonts/PSres.upr
make[3]: *** [install-xfonts] Error 1
make[3]: Leaving directory `/home/rboland/Lyx/lyx-1.3.3/lib'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/rboland/Lyx/lyx-1.3.3/lib'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/rboland/Lyx/lyx-1.3.3/lib'

Obviously, part of the problem here relates to my need to install some 
font, presumedly
the same font I installed on redhat.  I am assuming (with some lack of 
confidence)
that installing this font will remove all these problems.

I then attempted to run lyx (as rboland). 
I get the following messages:

[EMAIL PROTECTED]:~/Lyx/lyx-1.3.3$ LyX Warning! Couldn't determine s
ystem directory. Try the '-sysdir' command line parameter or set the e
nvironment variable LYX_DIR_13x to the LyX system directory containing
the file `chkconfig.ltx'.
Using built-in default /usr/local/share/lyx but expect problems.
LyX: reconfiguring user directory
configure: error: cannot find chkconfig.ltx script
LyX: Done!
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to open character set file
Error: Textclass 'article' is missing a defaultstyle.
Error reading `'
(Check `article')
Check your installation and try Options/Reconfigure...
Operator[] called with empty n
We failed to find the layout '' in the layout list. You MUST 
investiga  te!

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting 
inst  ructions in Help-Introduction and send us 
a bug report, if necessary.   Thanks !
Bye.

I then ran locate chkconfig.ltx from / .   (after rebuilding the locate 
database).
It was found only in ~rboland/Lyx/lyx-1.3.3/lib/chkconfig.ltx.
This suggests to me that  chkconfig.ltx was supposed to be installed 
somewhere
but wasn't.

I next ran:

lyx  -sysdir=/home/rboland/Lyx/lyx-1.3.3/lib

This ran sucessfully except for the problems I had before.
That is:
1)  mathematical symbols such as \alpha, \gamma fail to display and 
instead  alpha and gamma are
displayed on the screen.  The proper symbols are displayed when printing.
2)  on exit I get the message:
  Mutex destroy failure:  Device or resource busy.

I would appreciate any help in getting this install to work
as I will be using Lyx to create all my course materials
and papers this semester.
  
I am particularly interested in having the installation of Lyx
on the laptop  be as simple as possible so that the students
in the courses that I am teaching are able to install lyx on their
laptops (which are mostly running the exact same software).
If I could build an automatically installing package
that I could give them to run that would be great
but I am not sure what is involved with doing this.

Thanks in advance for your help.

Ralph Boland

 



Re: problems buillding lyx on slackware 9.0

2003-12-30 Thread Nirmal Govind
I then ran src/lyx as rboland sucessfully except that  in math mode 
mathematical
symbols are not displayed properly.  They do print properly though.
In redhat I had to install a fonts file which was a .rpm file to get 
this to work.
You probably need to install latex-xft-fonts for the math to show 
up.. you can find the non-rpm version at:

ftp://ftp.lyx.org/pub/lyx/contrib/

I believe there are install instructions in the archive..

nirmal



problems buillding lyx on slackware 9.0

2003-12-30 Thread Ralph Boland
I am attempting to install lyx on a IBM thinkpad running
slackware 9.0 linux.  (This is the computer given to my to use by Acadia 
university.
I don't think I am allowed to install say redhat (I was able to install 
lyx on
my home computer which runs redhat.  Also a few things on slactware 9.0 were
removed to make space to be able to also boot windows :-( ).

I was able to configure sucessfully using the --with-frontend=qt 
setting.   (as root)
(I am building lyx from  ~rboland/Lyx/lyx-1.3.3.)
I as able to do a make (compile)  sucessfully. (as root)

I then ran src/lyx as rboland sucessfully except that  in math mode 
mathematical
symbols are not displayed properly.  They do print properly though.
In redhat I had to install a fonts file which was a .rpm file to get 
this to work.

How do I get this file and install it using slackware 9.0?

Note that when I ran the command:

 ldd `which lyx` | grep fontconfig

I get the message:
   libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x40b05000)




Upon exiting lyx I get the message:

  "Mutex destroy failure:  Device or resource busy."

I am at a loss as to what this message means.

I then attempted a make install. 
Mostly it seems to work but at the end I get

...

test -f xfonts/fonts.dir || exit 0 ; \
/bin/sh ../config/mkinstalldirs /usr/local/share/lyx/xfonts ; \
files=`sed -e 's/^[0-9]*$//' -e 's/^\([^ ]*\) .*$/\1/' xfonts/fonts.dir` ; \
for i in ${files} ; do \
 ln -f -s `kpsewhich $i` /usr/local/share/lyx/xfonts/$i ; \
done ; \
/usr/bin/ginstall -c -m 644 xfonts/fonts.dir 
/usr/local/share/lyx/xfonts/fonts.dir ; \
/usr/bin/ginstall -c -m 644 xfonts/fonts.scale 
/usr/local/share/lyx/xfonts/fonts.scale
test -f xfonts/PSres.upr && /usr/bin/ginstall -c -m 644 xfonts/PSres.upr 
/usr/local/share/lyx/xfonts/PSres.upr
make[3]: *** [install-xfonts] Error 1
make[3]: Leaving directory `/home/rboland/Lyx/lyx-1.3.3/lib'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/rboland/Lyx/lyx-1.3.3/lib'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/rboland/Lyx/lyx-1.3.3/lib'

Obviously, part of the problem here relates to my need to install some 
font, presumedly
the same font I installed on redhat.  I am assuming (with some lack of 
confidence)
that installing this font will remove all these problems.

I then attempted to run lyx (as rboland). 
I get the following messages:

[EMAIL PROTECTED]:~/Lyx/lyx-1.3.3$ LyX Warning! Couldn't determine s
ystem directory. Try the '-sysdir' command line parameter or set the e
nvironment variable LYX_DIR_13x to the LyX system directory containing
the file `chkconfig.ltx'.
Using built-in default /usr/local/share/lyx but expect problems.
LyX: reconfiguring user directory
configure: error: cannot find chkconfig.ltx script
LyX: Done!
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to find icon `'
Unable to open character set file
Error: Textclass 'article' is missing a defaultstyle.
Error reading `'
(Check `article')
Check your installation and try Options/Reconfigure...
Operator[] called with empty n
We failed to find the layout '' in the layout list. You MUST 
investiga  te!

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting 
inst  ructions in Help->Introduction and send us 
a bug report, if necessary.   Thanks !
Bye.

I then ran locate chkconfig.ltx from / .   (after rebuilding the locate 
database).
It was found only in ~rboland/Lyx/lyx-1.3.3/lib/chkconfig.ltx.
This suggests to me that  chkconfig.ltx was supposed to be installed 
somewhere
but wasn't.

I next ran:

lyx  -sysdir=/home/rboland/Lyx/lyx-1.3.3/lib

This ran sucessfully except for the problems I had before.
That is:
1)  mathematical symbols such as \alpha, \gamma fail to display and 
instead  alpha and gamma are
displayed on the screen.  The proper symbols are displayed when printing.
2)  on exit I get the message:
  "Mutex destroy failure:  Device or resource busy."

I would appreciate any help in getting this install to work
as I will be using Lyx to create all my course materials
and papers this semester.
  
I am particularly interested in having the installation of Lyx
on the laptop  be as simple as possible so that the students
in the courses that I am teaching are able to install lyx on their
laptops (which are mostly running the exact same software).
If I could build an automatically installing package
that I could give them to run that would be great
but I am not sure what is involved with doing this.

Thanks in advance for your help.

Ralph Boland

 



Re: problems buillding lyx on slackware 9.0

2003-12-30 Thread Nirmal Govind
I then ran src/lyx as rboland sucessfully except that  in math mode 
mathematical
symbols are not displayed properly.  They do print properly though.
In redhat I had to install a fonts file which was a .rpm file to get 
this to work.
You probably need to install latex-xft-fonts for the math to show 
up.. you can find the non-rpm version at:

ftp://ftp.lyx.org/pub/lyx/contrib/

I believe there are install instructions in the archive..

nirmal