[Xastir] Bitmap not found? /usr/share/xastir/symbols/2x2.xbm

Henk Oegema on4hso at amsat.org
Fri Dec 22 16:00:29 EST 2006


Tom Russo wrote:
> On Thu, Dec 21, 2006 at 07:54:00PM +0100, we recorded a bogon-computron collision of the <on4hso at amsat.org> flavor, containing:
>   
>> Tom Russo wrote:
>>     
>>> On Thu, Dec 21, 2006 at 05:14:49PM +0100, we recorded a bogon-computron collision of the <on4hso at amsat.org> flavor, containing:
>>>   
>>>       
>>>> Tom Russo wrote:
>>>>     
>>>>         
>>>>> config file is still telling it to look in /usr/share instead of
>>>>> /usr/local/share (the error message above references /usr/share).
>>>>> Check your .xastir/config/xastir.cnf file, especially the 
>>>>> SYMBOLS_DIR setting.
>>>>>
>>>>>   
>>>>>       
>>>>>           
>>>> I am nearly there !
>>>> Xastir will start now.
>>>>
>>>> I moved all the maps from /usr/share/xastir/maps to
>>>> /usr/local/share/xastir/maps
>>>>
>>>> But there is still a small problem.
>>>> There still seems to be a *reference somewhere to /usr/share/xastir/maps.*
>>>> I can't find it in .xastir/config/xastir.cnf (every instance of
>>>> /usr/share/ was changed to /usr/local/share/
>>>>
>>>> error message in the CLI screen is:
>>>> 2 File /usr/share/xastir/maps/bignl.gif could not be read
>>>>         
>>> Sounds like you're still running the binary from the Adept install, which 
>>> would be in /usr/bin rather than in /usr/local/bin, and which would still be 
>>> looking for things in /usr/share.  Please try this in a terminal window:
>>>
>>>  type -a xastir
>>>
>>> If the only thing that shows up is /usr/local/bin/xastir there's another 
>>> problem, but if you find both /usr/bin/xastir and /usr/local/bin/xatstir (or 
>>> even just /usr/bin/xastir) your deinstallation of the older version didn't 
>>> take.
>>>
>>> You might still need to do something to complete the deinstallation of the
>>> package-installed version.  If Adept won't do it for you, it might work by
>>> doing 
>>>   apt-get remove xastir
>>>
>>>
>>>   
>>>       
>> ~$type -a xastir
>> xastir is /usr/local/bin/xastir
>>
>> ~$sudo apt-get remove xastir
>> ................................
>> Package is not installed, so not removed.
>> ................................
>>     
>
> That's mighty peculiar.  Did you build xastir exactly according to the wiki
> instructions?  If so, it shouldn't be looking in /usr/share for anything
> unless there are lingering configuration issues from the prior binary 
> install.  Did you try removing ~/.xastir/config/xastir.cnf?    If so, xastir 
> should have rebuilt it with no references to /usr/share at all.
>
> Do you by any chance have any symbolic links in your maps directory?   If so,
> perhaps something there is pointing to /usr/share directly.
>
> Other than that, I can't think of any reason why xastir should continue to 
> look in /usr/share for anything after doing a source build/install, unless you 
> added a "--prefix=/usr" or something like that to the configure line.
>
> If you can't find any such cause, I'd suggest doing a "make uninstall" from 
> wherever you built xastir, doing an "mv ~/.xastir ~/.xastir_old", then doing a 
> complete "make distclean" and trying the build/install again, starting from
> the "bootstrap.sh" step.  It sounds like something is confused somewhere, and 
> it might be necessary for you to clean out all old remnants of the previous 
> install.
>
>   
The only solution I found (after a day of struggling)was, to reinstall
Kubuntu and recompile Xastir.
Then everything was OK.

Anyway, tnx for ur support,

73, Henk
ON4HSO/PA2HO




More information about the Xastir mailing list