I'm trying to install
OpenGL on a Red Hat Enterprise Linux machine (Linux 2.6.18-194.8.1.el5 x86_64) for a
PDL installation. RHEL comes with a really old perl by default so I installed a new one by hand into /usr/local/bin. From what I'm reading it's dubious to "relocate" rpm packages, so I can install a packaged PDL on the system perl but not my local perl unless it was explicitly built to do so. If this is wrong, please inform me as this would be the easiest solution.
Long story short, I'm trying to build PDL from source into my local perl install and it requires OpenGL, whose build in turn requires a display for freeglut which I don't have (a display, that is). This is a "known issue" so I'm not filing a bug. For search purposes here's the error I see when running 'perl Makefile.PL':
freeglut (./glversion): failed to open display ''
The only solution I found to this problem was building OpenGL on a compatible system with a display (here) and altering the Makefile.PL accordingly. I'm not sure how I would go about doing this. Is there a good way to accomplish what I'm trying to do?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.