Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
texlive xdvi error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
doctor5
n00b
n00b


Joined: 22 Sep 2005
Posts: 13
Location: Uppsala, Sweden

PostPosted: Thu Aug 25, 2016 11:37 am    Post subject: texlive xdvi error Reply with quote

Hello,

I usually don't have too many problems with my Gentoo machines and I can generally find the help I need by looking thru the forums, but this problem has be stuck.

On one machine I noticed that xdvi was not showing the graphics (placed into documents with \includegraphics). It was working on another machine and I saw that the ghostscript-gpl use flags were 'X cups' on the working machine but only 'cups' on the non-working machine. I edited the relevant file (I have them as single lines in /etc/portage/package.use) adding the X. Re-emerging ghostscript-gpl then generated a 'stack smashing' error when I ran xdvi. Everything else tex related seems to work -- dvips etc. Removing the X flag for ghostscript and re-emerging made the error (and the graphics in xdvi) go away. I realized that there were probably dependencies and since it had been a while put the X back into the use file for ghostscript. I then ran

emerge --update

and then

emerge -uDU --with-bdeps=y @world

The error with xdvi was still there.

I tried to un-merge texlive and then re-emerged it. Error is still there.

I ran emerge -uDU --newuse --with-bdeps=y @world

and the error is still there.

texlive.use looks like this

app-text/texlive X music tex4ht

I don't have X in my make.conf file since I don't want the X versions of everything, just certain programs.

I started going through the libs listed in the memory map that follows the 'stack smashing' error and at least libcc_s.so.1 was recompiled, but some of the other are older. I'm not sure how to fix this. BTW, this is a 32-bit machine, and the one I was comparing it to is 64 bit.

Jonathan
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21334
Location: here

PostPosted: Thu Aug 25, 2016 12:48 pm    Post subject: Reply with quote

Try compile texlive with flag graphics
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
doctor5
n00b
n00b


Joined: 22 Sep 2005
Posts: 13
Location: Uppsala, Sweden

PostPosted: Fri Aug 26, 2016 8:44 am    Post subject: Reply with quote

Hello,

Tried that, didn't help. And that flag isn't set in the x86_64 machine where xdvi works just fine.

The beginning looks like this:

*** stack smashing detected ***: xdvi-xaw terminated
======= Backtrace: =========
/lib/libc.so.6(+0x6ce19)[0xb730ee19]
/lib/libc.so.6(__fortify_fail+0x45)[0xb73aa1e5]
/lib/libc.so.6(+0x10819a)[0xb73aa19a]


but /lib/libc.so.6 (a link to libc-2.22.so) is new, as is libc-2.22.so itself.

There are complaints about lot of other libraries, some of which are 'old' and some of which have been re-compiled.

This isn't a super big problem since I can still use latex but it is annoying that xdvi doesn't work properly and if there is a bug somewhere it should be fixed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum