Anybody successfully compiles SPOOLES on Ubuntu?
Anybody successfully compiles SPOOLES on Ubuntu?
(OP)
I want to compile SPOOLES on Ubuntu to take advantage of multiple processors. Not quite sure what questions to ask about this. I did edit some things in Make.inc as appropriate. Still won't compile.
TOP
CSWP, BSSE
www.engtran.com www.niswug.org
"Node news is good news."





RE: Anybody successfully compiles SPOOLES on Ubuntu?
What is SPOOLES, anyway? My quick Google search turned up all sorts of stuff about printer spools and spool files.
What sort of error messages are you getting?
RE: Anybody successfully compiles SPOOLES on Ubuntu?
www.Roshaz.com
RE: Anybody successfully compiles SPOOLES on Ubuntu?
TOP
CSWP, BSSE
www.engtran.com www.niswug.org
"Node news is good news."
RE: Anybody successfully compiles SPOOLES on Ubuntu?
Mike Halloran
Pembroke Pines, FL, USA
RE: Anybody successfully compiles SPOOLES on Ubuntu?
TOP
CSWP, BSSE
www.engtran.com www.niswug.org
"Node news is good news."
RE: Anybody successfully compiles SPOOLES on Ubuntu?
Mike Halloran
Pembroke Pines, FL, USA
RE: Anybody successfully compiles SPOOLES on Ubuntu?
CODE --> Compile Error(s)
cd A2 ; make all_drivers
make[1]: Entering directory `/usr/share/SPOOLES/A2'
cd drivers ; make drivers
make[2]: Entering directory `/usr/share/SPOOLES/A2/drivers'
make[2]: *** No rule to make target `../../spooles.a', needed by `test_norms'. Stop.
make[2]: Leaving directory `/usr/share/SPOOLES/A2/drivers'
make[1]: *** [all_drivers] Error 2
make[1]: Leaving directory `/usr/share/SPOOLES/A2'
make: *** [drivers] Error 2
pbk@LC4:/usr/share/SPOOLES$
TOP
CSWP, BSSE
www.engtran.com www.niswug.org
"Node news is good news."
RE: Anybody successfully compiles SPOOLES on Ubuntu?
I do not know your UNIX/Linux background. Perhaps this all is stuff you know.
In your directory `/usr/share/SPOOLES/A2/drivers, there is a Makefile with a target called "test_norms" that requires spooles.a. I forget what exactly it is you call *.a files, as I am away from my Linux box, but they are executable libraries. They are sort of like a Windows DLL.
In the Makefile, the target looks sort of like this...
test_norms: *****.* *********.* spooles.a ***.*
gcc *****.* *********.* spooles.a ***.*
The file spooles.a either has to be in the directory somehow, or there must be a target in your Makefile that tells you how to make it.
Suggestions, from your compile root directory:
$ find . -type f -name spooles.a -print
The $ is your bash shell command prompt. The above line of code will search down through your directory tree for the file spooles.a. It might not be located where it is supposed to be.
Open the file /usr/share/SPOOLES/A2/drivers/Makefile. Search for references to spooles.a. If some "make" target requires it, there must be a way to provide it. Perhaps something got commented out. Perhaps there is a typo somewhere. Perhaps there is a comment that explains stuff.
$ make clean
$ grep -rl spooles\.a .
This will seach down through your directory tree and list any file that contains the text string "spooles.a". I recommend the "make clean" because you do not want to search executables and object code. I escaped the period character with a backslash. I am not sure, but I think you will need to do this.
I do all my compiles in /usr/local. I have mounted /usr/local as a partition separate from the operating system. I can reformat and reinstall the root (main operating system) partition, and it will have no effect on stuff I compiled. Probably, you do not want to go through with this again.
RE: Anybody successfully compiles SPOOLES on Ubuntu?
I found the problem. There were some files that needed modification particular to the Ubuntu release as far as file locations went.
I was trying to compile a multi-threaded version so it would utilize all four cpu cores on the motherboard.
The next challenge was ARPACK. I had to download a fortran compiler for that. It appeared to compile too.
Now I am in the process of compiling CalculiX. If I am in the right frame of mind this is enjoyable. I am sure it builds character too.
TOP
CSWP, BSSE
www.engtran.com www.niswug.org
"Node news is good news."
RE: Anybody successfully compiles SPOOLES on Ubuntu?
Running into same problem
Could you please share what exactly you did to fix?
Thanks!
RE: Anybody successfully compiles SPOOLES on Ubuntu?
TOP
CSWP, BSSE
www.engtran.com www.niswug.org
"Node news is good news."
RE: Anybody successfully compiles SPOOLES on Ubuntu?
http://www.ubuntu.com/support
RE: Anybody successfully compiles SPOOLES on Ubuntu?
TOP
CSWP, BSSE
www.engtran.com www.niswug.org
"Node news is good news."
RE: Anybody successfully compiles SPOOLES on Ubuntu?
This is working for me (Ubuntu 10.04 with proper dev libs installed)
RE: Anybody successfully compiles SPOOLES on Ubuntu?
TOP
CSWP, BSSE
www.engtran.com www.niswug.org
"Node news is good news."