[SOLVED] avr-libc LaTeX documents won't compile in Slackware 13.1
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
avr-libc LaTeX documents won't compile in Slackware 13.1
I'm attempting in install the necessary libraries and programs to work with AVR chips. I got 13.1 slackbuilds for avr-gcc and avr-binutils but I could only find a 13.0 slackbuild for avr-libc. I attempted to compile it but it fails with warnings and errors about LaTeX not being proper and not being able to find a .tex file. I tried finding a way to turn off compiling the documentation but I've been unsuccessful.
Any suggestions?
Click here to see the post LQ members have rated as the most helpful post in this thread.
QUOTE : "Note that this package is intended to completely replace
(and then some) the tetex packages in Slackware, so you'll need
to remove tetex and tetex-doc before installing TeXLive."
..
which creates the tex dependency, the package builds fine without it, and even creates documentation, just not fancy documentation. I thought it was a strange to enable it in first place, so I removed that line from the slackbuild.
Gaaa how did I miss that? Oh well, thanks for your help. I'll be back if something still goes wrong, but it looked like the rest of the package built properly.
I tried taking the "--enable-doc" out of the Slackbuild but it still doesn't work, and this time its not telling me there's errors or anything. It ends with
Code:
test -z "/usr/bin" || /bin/mkdir -p "/tmp/SBo/package-avr-libc/usr/bin"
/bin/ginstall -c 'avr-man' '/tmp/SBo/package-avr-libc/usr/bin/avr-man'
make[2]: Leaving directory `/tmp/SBo/avr-libc-1.6.7/scripts'
make[1]: Leaving directory `/tmp/SBo/avr-libc-1.6.7/scripts'
make[1]: Entering directory `/tmp/SBo/avr-libc-1.6.7'
make[2]: Entering directory `/tmp/SBo/avr-libc-1.6.7'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/tmp/SBo/avr-libc-1.6.7'
make[1]: Leaving directory `/tmp/SBo/avr-libc-1.6.7'
QUOTE : "Note that this package is intended to completely replace
(and then some) the tetex packages in Slackware, so you'll need
to remove tetex and tetex-doc before installing TeXLive."
..
When I cannot compile something, I think it's a bad habit to first blame the compiler -- because I am not a guru.
90% of LaTeX errors are from using "su" instead of "su -". Anytime you are using SlackBuilds from SlackBuilds.org
you need to use "su -" and or "source /etc/profile" this helps ensure you have tex and other things in your $PATH.
If you use "su" tex is not in your $PATH.
I just pushed a new avr-libc build into my git branch, so it will be part of the next public update. In the meantime, you can see it here: http://slackbuilds.org/gitweb/?p=sla...b1cd1395276d82
(note: that link will be broken after the update is pushed)
That script worked properly, and the Arduino board works. I'm gonna mark this as solved but I'm trying to figure out how to connect the board without having to change permissions on ttyUSB0 every time. So far I've added myself to groups uucp and tty as per instructions at http://www.arduino.cc/playground/Linux/Slackware and I've googled a bunch but can't quite get it figured out.
That script worked properly, and the Arduino board works. I'm gonna mark this as solved but I'm trying to figure out how to connect the board without having to change permissions on ttyUSB0 every time. So far I've added myself to groups uucp and tty as per instructions at http://www.arduino.cc/playground/Linux/Slackware and I've googled a bunch but can't quite get it figured out.
Thanks for the line of code. I noticed the "dialout" group section and figured adding myself to the "dialout" group might work, so I did it and it did.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.