Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2008 11:08:19 +0100
From:      Jose Antonio Galache <jgalache@tlmat.unican.es>
To:        Jose Antonio Galache <jgalache@tlmat.unican.es>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Problems installing wxgtk2.6
Message-ID:  <4785EE93.7000907@tlmat.unican.es>
In-Reply-To: <474E8B43.7070205@tlmat.unican.es>
References:  <474DB9F1.3020306@tlmat.unican.es>  <20071128204459.3838092d@peedub.jennejohn.org>  <474E8B43.7070205@tlmat.unican.es>

next in thread | previous in thread | raw e-mail | index | archive | help
Jose Antonio Galache escribió:
> Gary Jennejohn escribió:
>> On Wed, 28 Nov 2007 19:56:49 +0100
>> Jose Antonio Galache <jgalache@tlmat.unican.es> wrote:
>>
>>   
>>> Hi all,
>>>
>>> I'm trying to install the wxgtk in my machine (FreeBSD 6.2), but after installing all wxgtk26 ports and trying the compilation of a simple code through the command
>>>
>>> #g++ hworld.cpp 'wx-config --libs' 'wx-config --cxxflags' -o hworld ,
>>>
>>> I get the following errors:
>>>     - wx-config. Command not found. After googling a bit, theoretically the wx-config should be installed, verifying the version through the command #wx-config --version, but it is not installed at all. I have observed that in the files folder (within the wxgtk26 folder) there is a patch-wx-config.in file.__Should I run this patch in order to install wx-config or is there another better way to install it?.
>>>     - Header files are not found. This goes with the fact that the path for '#include files' is not well specified. __Does it exist any way to set the right path (the one where wxgtk is installed) do that the '#include files' are found?. I have modified the LD_LIBRARY_PATH and run ldconfig, but it hasn't worked.
>>>
>>> I installed first wxgtk2.8, but as there is no patch for wx-config within wxgtk28, I decide to uninstall it and install version 2.6. 
>>>
>>> Thanks a lot in advance for your help.
>>>
>>>     
>>
>> Hint:
>>
>> root:peedub:x11-toolkits:bash:27> grep config ./wxgtk26/pkg-plist
>> bin/wxgtk2-2.6-config
>> root:peedub:x11-toolkits:bash:28> grep config ./wxgtk28/pkg-plist
>> bin/wxgtk2-2.8-config
>>
>> They are named this way to avoid conflicts.
>>
>>   
> Hi Gary,
>
> thanks a lot for your help. Now it compiles and works perfectly.
>
> Jose.
Hi Gary, all,

It is happening something extrange with my wxgtk, as I answered you in 
previous mail, it was working well, but now it stops working. When I type

grep config ./wxgtk28/pkg-plist

it shows an error message './wxgtk28/pkg-plist: No such file or 
directory' and when I compile a 'hello world' program (which before 
compiles right), it doesn't find wxgtk2-2.8-config --libs and 
wxgtk2-2.8-config --cxxflags. I don't know where is the problem, as I 
don't modify anything, just create a Makefile for another more 
complicated program, but no more changes done. I have uninstalled all 
ports and installed them again, but problem stays there. Could someone 
give me some idea to solve the problem?. Thanks a lot in advance.

Jose.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4785EE93.7000907>