I was dimly aware of the pkg-config machinery but didn't know of this
particular trick. Thanks! The level of my experience is highest on
Windows, next on Mac, and lowest on Linux, so I welcome all the help I
can get. I would particularly welcome someone with strong Linux skills
taking over the task of creating installation packages for VPython-wx.
Bruce
On Fri, Nov 16, 2012 at 5:31 AM, Douglas S. Blank
<db...@cs...> wrote:
> Bruce,
>
> You may know this, but if a package is installed with package-config
> support, and its .pc file can be found on the PKG_CONFIG_PATH, then you
> can:
>
> pkg-config --variable=includedir python
>
> and get the path to the include files (if it is defined).
>
> Hope that helps,
>
> -Doug
>
> --
> Douglas S. Blank
> Associate Professor, Computer Science, Bryn Mawr College
> http://cs.brynmawr.edu/~dblank (610)526-6501
>
>> I've started the attempt to build VPython-wx on a 64-bit Ubuntu Linux
>> (12.04). I'm hoping to be able to use a simple makefile, as is the
>> case on the Mac rather than invoking the very complex autoconfig
>> machinery. Dunno whether that's misguided, and I would welcome
>> comments from knowledge Linux users. Or maybe I should be using
>> distutils or something? I'm not having much success in trying to deal
>> with the dependencies.
>>
>> There is only one substantive piece of platform-dependent code
>> currently remaining in VPython-wx, turning fonts into textures for
>> display in label objects. It's possible that this too could be handled
>> by wxPython, and I did find an example of such manipulations:
>>
>> http://d0t.dbclan.de/snippets/gltext.html, "wxpython/opengl easy
>> text to texture class"
>>
>> It's possible that working with this wxPython code would be easier
>> than fighting through the many Linux dependencies just to get at
>> fonts.One of the big advantages of VPython-wx is the possibility of
>> letting wxPython deal with all of that complexity.
>>
>> In tracking down various Linux include files, I see some locations like
>>
>> /usr/include/xyz....
>>
>> and others like
>>
>> /usr/lib/x86_64-linux-gnu/xyz/include
>>
>> Is there some trick for expressing the second kind of reference in a
>> simpler form, more like the first form? Some sort of global switch
>> that says, "Look for 64-bit versions"?
>>
>> Bruce Sherwood
>>
>> ------------------------------------------------------------------------------
>> Monitor your physical, virtual and cloud infrastructure from a single
>> web console. Get in-depth insight into apps, servers, databases, vmware,
>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>> Pricing starts from $795 for 25 servers or applications!
>> http://p.sf.net/sfu/zoho_dev2dev_nov
>> _______________________________________________
>> Visualpython-users mailing list
>> Vis...@li...
>> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>>
|