pwc
[Top] [All Lists]

Re: [pwc] qastrocam compiling problems with FC6 2.6.20

To: Luc Saillard <>
Subject: Re: [pwc] qastrocam compiling problems with FC6 2.6.20
From: Thomas Pfrommer <>
Date: Thu, 19 Apr 2007 10:44:35 -0700
Hi Luc,
thanks for your suggestions.

Luc Saillard wrote:
> On Wed, Apr 18, 2007 at 04:58:04PM -0700, Thomas Pfrommer wrote:
>   
>> checking for avifile-config... no
>> ./configure: line 1609: --cflags: command not found
>> ./configure: line 1610: --cflags: command not found
>> ./configure: line 1611: --libs: command not found
>>     
> [...]
>   
>> checking avifile.h usability... no
>> checking avifile.h presence... no
>> checking for avifile.h... no
>>     
>
> Have you installed libavifile ? because the configure script has not detected
> your installation.
>
>   
I thought it is optional. but will search for it and install it. I would 
anyway only need raw fits file as output. But you are right i will 
install it.
>  
>   
>> # make all
>> for i in qastrolib qastrocam doc ; do make -C $i || exit 1; done
>> make[1]: Entering directory `/path/qastrocam-2006-05-19/qastrolib'
>> make[1]: *** No rule to make target `qlineedit.h', needed by 
>> `QCamVesta.o'.  Stop.
>> make[1]: Leaving directory `/path/qastrocam-2006-05-19/qastrolib'
>> make: *** [all] Error 1
>> #
>>     
>
> qlineedit.h comes from libqt3 (perhaps qt4 too) so you need to install the
> developpement package before building this application.
>
> Luc
>   
Actually I did install qt-3.3. Fedora Core 6 comes with qt ad qt4 so i 
had to install the development of it. Then I had to change the directory 
in Makefile.arch to qt-3.3 instead of qt3, which does not exist for FC6. 
Would it had been working with qt4 instead as well?
Anyway i played around a bit with configure.in, Makefile.vars.in and so 
on (I had to link different files to /usr/include .. such as 
asm/linkage.h and also I had to rename #include <config.h> in two files 
to <autoconf.h>, as config.h does not exist any more in FC6 in the 
directory, specified through -I) and eventually got it to compile with 
first make clean after all this playing around, then make 
configure-redhat-mt, end then make all. However it does not find my 
Toucam now. All I get is "BT 878 video (*** unkown/gener " in the first 
line of qastrocam.
Following massage appears in the terminal :

$ ./qastrocam
QAstroCam 4.1 beta (build 145)
* based on QAstroLib Pre 4
* http://3demi.net/astro/qastrocam/doc
* 
* lib directory /home/lobs/download/qastrocam-2006-05-19

unknow BT878 video ( *** UNKNOWN/GENER camera detected.
Using generic V4L driver.
VIDEO_PALETTE_YUV420P not supported.
VIDEO_PALETTE_YUV420 not supported.
found palette VIDEO_PALETTE_RGB24
initial size 320x240
Using timer to wait new frames.
mmap: Invalid argument

After a suggestion of Nicholas Boulay, I searched for which version of 
the driver pwc qastrocam actually has. I found actually two files 
pwc-ioctl.h, one in ./src/

4182 Mar 18  2005 pwc-ioctl.h

which is really small and does not look like a driver, and then

a larger one in ./qastrolib/

8886 Mar 18  2005 pwc-ioctl.h
 which indicates it is version 8.12.1

 This is pwc-ioctl.h belonging to PWC 8.12.1

In FC6 there is version 10.0.10 installed. So i don't know which version 
it is actually using and why there are two files with the same name in 
two different folders. 

the the thing is, that qastrocam did install in my download directory. 
is it possible to move the entire folder top another place or do i have 
to recompile? From time to time I thought of cleaning my download folder 
... well thats a minor issue.

Thanks a lot for your help!
Thomas
_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU