General ⇒ Glossaries package: error, "can't fork: bad file descriptor
Glossaries package: error, "can't fork: bad file descriptor
First post here. I've failed to get the glossaries package working. I've been through the manual, and through Nicola Talbot's glossaries guide (Glossaries, Nomenclature, Lists of Symbols and Acronyms).
I've tried the sample doc, sample.tex, that comes with the package. Following the above guide, I've tried running makeglossaries from both the command line, and through texniccenter's postprocessing options. I've attempted using both makeindex and xindy.
I have PERL installed and that's working. But as soon as there's an attempt to run either makeindex or xindy, I'm getting the same error: "can't fork: bad file description."
(And, of course, no glossary.)
I'm not sure where to start with this - that error message hardly appears on the interwebs, so I don't know how to interpret it.
Any starting pointers gratefully received. As I say, as well as my own thesis document, I've tested this with the sample.tex in glossaries/samples. I'm not sure what other information I can supply at this point.
Any ideas? Any other info I should supply? (And is this the right forum for this?)
Thanks,
Dan
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Glossaries package: error, "can't fork: bad file descrip
Regards
Nicola Talbot
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Re: Glossaries package: error, "can't fork: bad file descrip
Could it be something as simple as me not doing something correctly with makeindex? As I understood it, though, the PERL script should be doing that already...?
Thanks,
Dan
- Attachments
-
- glossampleoutputs.txt
- (1.39 KiB) Downloaded 280 times
Re: Glossaries package: error, "can't fork: bad file descrip
Makeindex runs fine, and glossary entries can be used in the text. However, I can't directly call the Perl script to build the glossary with "makeglossaries indextest" - I still get the "can't fork: bad file descriptor" error.
However - and this I don't understand - if I copy the command line text that the Perl script was trying to run, manually paste it back in and run it that way - success! Exactly the same text.
So that's good news, in that I now have a glossary. But it'd be good to know why it's doing this. For now I'll just paste in the full command (or commands, if there's more than one glossary, e.g. when using acronyms.)
Any thoughts gratefully received. It doesn't make sense to me: if the Perl script is outputting a command - that works fine when copied, pasted and run - why on Earth would it fail to run by itself?
(Oh: I'd also mention, it look me a little while to realise there's no Xindy for windows. Usually Miktex downloads packages 'on the fly', so I presumed that had happened with xindy - not so. Makeindex is working fine though.)
p.s. you might have guessed, I don't use Perl!
Cheers,
Dan
- Attachments
-
- indextest.tex
- (2.81 KiB) Downloaded 291 times
Re: Glossaries package: error, "can't fork: bad file descrip
Regards
Nicola Talbot
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Re: Glossaries package: error, "can't fork: bad file descrip
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Glossaries package: error, "can't fork: bad file descriptor
Best regards
Thoesten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Glossaries package: error, "can't fork: bad file descriptor
I presume you mean: "If you find your problem solved, mark the concerning thread accordingly by editing the initial post (which is meant to be chronological the very first in a thread) and simply choosing the green check-mark from the icon list without any modifications to the topic title."localghost wrote:If the problem is solved with that, please mark the topic accordingly as clearly written in the Board Rules (to be rad before posting). Otherwise tell us what is missing.
Try as I might, I couldn't see any way of editing my first post to change the green check-mark. Where's the edit option?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Glossaries package: error, "can't fork: bad file descriptor
What else should I mean?danol wrote:I presume you mean: "If you find your problem solved, mark the concerning thread accordingly by editing the initial post (which is meant to be chronological the very first in a thread) and simply choosing the green check-mark from the icon list without any modifications to the topic title." […]
Of course you don't if you decide after more than three months(!) to follow the directions. There is a time limit for editing posts. Next time mark the topic immediately after you got the solution. But thanks for responding. For now I will mark the topic accordingly.danol wrote:[…] Try as I might, I couldn't see any way of editing my first post to change the green check-mark. Where's the edit option?
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10