LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-21-2009, 05:35 PM   #1
GTrax
Member
 
Registered: Oct 2005
Location: UK
Distribution: Mint
Posts: 258

Rep: Reputation: 37
Please - what is QT4 rcc ?


I have been trying to install 'FreeMat' on PCLinuxOS.
FreeMat is similar to Matlab, but is open source.

When running 'configure' the script stops early with the following.
Code:
..<various other OK checks ..>
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for /usr/lib/qt4/include/QtGui/QWidget... yes
configure: No extra QT_INCLUDE_DIR needed
checking for moc4... no
checking for moc-qt4... no
checking for moc... moc
checking for rcc4... no
checking for rcc-qt4... no
checking for rcc... no
checking for uic4... no
checking for uic-qt4... no
checking for uic... uic
configure: error: QT4 rcc is required.
[root@miranda build]#
I already used the PCLinuxOS Synaptic (It uses Debian-style Synaptic to work from from RPMs somehow), to install all the QT4 stuff I could find
 
Old 01-22-2009, 05:20 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,504

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
FreeMat-3.6

# ln -s /usr/lib/qt4/bin/rcc /usr/bin/rcc-qt4
....

Good Luck !
....
 
Old 01-23-2009, 04:40 PM   #3
GTrax
Member
 
Registered: Oct 2005
Location: UK
Distribution: Mint
Posts: 258

Original Poster
Rep: Reputation: 37
Thanks very much for the reply.
I am guessing I put this symlink in the same folder as all the other source files.
I will try it.

Thanks knudfl
 
Old 01-23-2009, 05:12 PM   #4
GTrax
Member
 
Registered: Oct 2005
Location: UK
Distribution: Mint
Posts: 258

Original Poster
Rep: Reputation: 37
Well - we get a little closer. Much more of the 'config' file now executes OK.
Code:
checking for Fortran 77 libraries of ...
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... configure: error: cannot compile a simple Fortran program
See `config.log' for more details.
I do have the Fortran77 (and Fortran95) runtime libraries installed. Unfortunately, the PCLinuxOS version of Synaptic does not include the install paths in its display information.
When I find where it hides.. then ..
Maybe the only way is to pick through the makefile, and modify it, or try another symlink. This is awkward stuff for one with only casual programming experience.
EDIT: OK - I got past that block by installing the full gcc Fortran.
I guess I am now just going through the process of installing all the remaining dependencies the makefile requires - which is probably the norm when it has to be compiled from sources.
onward

Last edited by GTrax; 01-23-2009 at 05:25 PM. Reason: New Info.
 
Old 01-24-2009, 05:01 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,504

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Have a very close look at the "config.log" and find this, repeatedly
( shows up 11 times )
Code:
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/../../../libGL.so: undefined reference to `drmOpenOnce'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/../../../libGL.so: undefined reference to `drmCloseOnce'
F77 is involved in these tests, and I would consider it a bug, that
F77 is said to be the thing, not working. The real issue seems to be
libmesagl1, libmesagl1-devel, try reinstall.
... I had no succes on PCLOS2007, no updates since july ?

....
If you come further, you will need these too :
lapack-devel, libblas-devel, arpack. And then some for special functions.
....

I compiled FreeMat on Ubuntu 8.0.4.1 . ( f77-3.4 )
( nogo on Ubuntu 8.10 , f77-3.3 )
( Ubuntu and Debian have the special packages for building FreeMat, too )
....
PS : The compiled result from Ubuntu 8.0.4.1 works perfect on pclos.
....

Last edited by knudfl; 01-24-2009 at 05:59 AM.
 
Old 01-24-2009, 11:39 AM   #6
GTrax
Member
 
Registered: Oct 2005
Location: UK
Distribution: Mint
Posts: 258

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by knudfl View Post
... I had no success on PCLOS2007, no updates since july ?
I have a lot of programs associated with one task invested in the PCLinuxOS installation. It was the "MiniMe" distro, without heavyweight frills. It has been one of the best and most stable, though I too keep watching for updates.
I have partitions with various other Distros bootable from one GRUB menu. The applications in them suit their type. eg. real-time low latency signal capture. Now I have a need to calculate radiation pattern vectors which is computationally intensive. The Windows packages are unreasonably expensive, and the XP platform crashes unaccountably. Really serious scientific computation has resources available for Unix/Linux, and with source code, hence my interest in FreeMat.
Quote:
....
If you come further, you will need these too :
lapack-devel, libblas-devel, arpack. And then some for special functions.
....
Yes, I got lucky there. The pclos repository had arpak and parpack, which is a parallel implementation of arpack. The arpack part was removed (in effect updated).
Regarding BLAS (linear algebra). The README recommends getting libblas functionality via ATLAS package which undergoes a "tuning" process during its install to optimize math functions for the CPU and hardware in use. I did not understand if there would be a performance hit. I took the lazy way, and installed both libblas and ATLAS from the repository.
Quote:
I compiled FreeMat on Ubuntu 8.0.4.1 . ( f77-3.4 )
( nogo on Ubuntu 8.10 , f77-3.3 )
( Ubuntu and Debian have the special packages for building FreeMat, too
OK - I followed your example.
FreeMat deb package I tried works in Mepis(Lenny) straight from the repository. I have no idea how optimum it would be. I can move the work over to Mepis if need be. if pclos stays much longer without update, I may do that anyway, even though it has been good and stable.
Re: the difference between Ubuntu 8.04 and 8.10. Only the 8.04 allows the low-latency kernel configuration. I notice also that the most recent Ubuntu LTS (Long Term Support) release is 8.04.2
Quote:
....
PS : The compiled result from Ubuntu 8.0.4.1 works perfect on pclos.
....
Now that is entirely more radical! I may just try something like that. Surprising too. Maybe you are the adventurous type..
The pclos install attempt is very nearly all there. I am only missing these remaining parts.
Quote:
Optional Libraries - These libraries are used to provide functionality
that is not critical to the operation of FreeMat. If any of these
libraries are not found, FreeMat will still compile, but the corresponding
functionality will not be available in the resulting binary.

Library Function Status

FFTWF FFT (single precision) Found
FFTW FFT (double precision) Found
ARPACK Eigenvalues for Sparse Matrices Found
UMFPACK Solutions of Sparse Linear Equations Not Found
AVCALL Imported functions Not Found
PCRE Regular Expressions Found
PORTAUDIO Audio I/O Not Found
LLVM Low Level Virtual Machine (JIT) Not Found
The AVCALL function is found as part of ffcall. I have found several versions, including patched ones. I think the Ubuntu repository has them available the easy way. LLVM (low level virtual machine) sounds serious, though I am not sure I need it at all, even if I knew how to get it.
Thanks much for your help knudfl. Getting this stuff to work is very near the limit of my skills, such as they are.
 
Old 01-24-2009, 01:20 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,504

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
AVCALL > libffcall.

libffcall1_1.10+2.41-3_i386.deb and libffcall1-dev_1.10+2.41-3_i386.deb
from Ubuntu Hardy are useable > >
# 'alien -r <package>' will do ( I installed the runtime only )
( Haven't tried to build from source )

UMFPACK
'SuiteSparse' provides libumfpack and more, available in the repo, pclos.
PORTAUDIO : 'libportaudio0-devel' , repo, pclos

LLVM http://en.wikipedia.org/wiki/Low_Level_Virtual_Machine
http://freshmeat.net/projects/llvm/
....
Quote:
The pclos install attempt is very nearly all there. I am only missing these remaining parts
How did you bypass the so called "F77 issue" ???

....

Last edited by knudfl; 01-25-2009 at 09:30 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i install qt4? plainkeyman Ubuntu 5 06-20-2011 09:07 PM
Qt4 STARHARVEST Slackware 7 10-08-2008 09:56 AM
linking c with c++ in QT4 joecole10 Programming 1 07-02-2008 08:55 AM
Compiling qt4 apps for non-qt4 linux, win, mac birdseye Programming 4 10-31-2005 05:45 AM
Reading/Modifying .rcc file (believe to be ELF) chrisrock79 Linux - Newbie 1 09-12-2005 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration