in All availableThis forumThis topic
 texlive xdvi error
Author Message
doctor5
n00b

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

 Posted: Thu Aug 25, 2016 11:37 am    Post subject: texlive xdvi error 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
fedeliallalinea
Bodhisattva

Joined: 08 Mar 2003
Posts: 21334
Location: here

 Posted: Thu Aug 25, 2016 12:48 pm    Post subject: Try compile texlive with flag graphics_________________Questions are guaranteed in life; Answers aren't.
doctor5
n00b

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

 Posted: Fri Aug 26, 2016 8:44 am    Post subject: 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.
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMT Page 1 of 1

 Jump to: Select a forum Assistance----------------News & AnnouncementsFrequently Asked QuestionsInstalling GentooMultimediaDesktop EnvironmentsNetworking & SecurityKernel & HardwarePortage & ProgrammingGamers & PlayersOther Things GentooUnsupported Software Discussion & Documentation----------------Documentation, Tips & TricksGentoo ChatGentoo Forums FeedbackOff the WallDuplicate Threads International Gentoo Users----------------中文 (Chinese)DutchFinnishFrenchDeutsches Forum (German)  Diskussionsforum  Deutsche DokumentationGreekForum italiano (Italian)  Forum di discussione italiano  Risorse italiane (documentazione e tools)Polskie forum (Polish)  Instalacja i sprzęt  Polish OTWPortuguese  Documentação, Ferramentas e DicasRussianScandinavianSpanishOther Languages Architectures & Platforms----------------Gentoo on AMD64Gentoo on ARMGentoo on PPCGentoo on SparcGentoo on Alternative ArchitecturesGentoo for Mac OS X (Portage for Mac OS X)
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