{"id":533,"date":"2009-01-24T14:53:19","date_gmt":"2009-01-24T13:53:19","guid":{"rendered":"http:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/"},"modified":"2009-01-24T14:53:19","modified_gmt":"2009-01-24T13:53:19","slug":"ubuntu-8-04-and-perl-opengl-extension","status":"publish","type":"post","link":"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/","title":{"rendered":"Ubuntu 8.04 and Perl OpenGL extension"},"content":{"rendered":"<p>Recently, I was trying to install the <a href=\"http:\/\/search.cpan.org\/dist\/OpenGL\/\" rel=\"nofollow\">perl OpenGL module<\/a> for a fun hack I&#39;m trying to write at home.<\/p>\n<p>\nThere was no way of getting it installed. The compilation didn&#39;t succeed. The error message from the compiler was something along the line of:\n<\/p>\n<p>\n<code><br \/>\n... \/usr\/lib\/xorg\/extensions\/glx.so: Undefined symbol GetTimeInMillis ...<br \/>\n<\/code>\n<\/p>\n<p>\nSearching on the web held the following result (just 1):\n<\/p>\n<p>\n<b>Perl and OpenGL<\/b>: <a title=\"Perl and OpenGL article on UbuntuForums\" href=\"http:\/\/ubuntuforums.org\/showthread.php?t=948812\" rel=\"nofollow\">http:\/\/ubuntuforums.org\/showthread.php?t=948812<\/a>\n<\/p>\n<p>\nReading the thread, from last October, it was clear that the author found <b>no<\/b> solution to this problem. A look at the <b>OpenGL<\/b> extension, and in particular, to its build script revealed that you can compile and link the OpenGL extension with different GL libraries.\n<\/p>\n<p>\nTurns out that Ubuntu works with the <b>FREEGLUT<\/b> library. Thus, doing:\n<\/p>\n<p>\n<code><\/p>\n<pre>\r\n$ wget http:\/\/cpan.perl.org\/modules\/by-module\/OpenGL\/OpenGL-0.57.tar.gz\r\n$ tar xzvf OpenGL-0.57.tar.gz\r\n$ cd OpenGL-0.57\r\n$ perl Makefile.PL interface=FREEGLUT\r\n$ make\r\n$ make test\r\n(a small demo application should run...)\r\n$ sudo make install\r\n<\/pre>\n<p><\/code>\n<\/p>\n<p>\nshould build and install the OpenGL extension.<br \/>\nMore about my fun project later&#8230; It&#39;s going to be presented at the <a href=\"http:\/\/www.perlworkshop.no\/npw2009\/\" rel=\"nofollow\">Nordic Perl Workshop<\/a> next April&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, I was trying to install the perl OpenGL module for a fun hack I&#39;m trying to write at home. There was no way of getting it installed. The compilation didn&#39;t succeed. The error message from the compiler was something along the line of: &#8230; \/usr\/lib\/xorg\/extensions\/glx.so: Undefined symbol GetTimeInMillis &#8230; Searching on the web held [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[477,436,50,343],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ubuntu 8.04 and Perl OpenGL extension - Random hacking<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ubuntu 8.04 and Perl OpenGL extension - Random hacking\" \/>\n<meta property=\"og:description\" content=\"Recently, I was trying to install the perl OpenGL module for a fun hack I&#039;m trying to write at home. There was no way of getting it installed. The compilation didn&#039;t succeed. The error message from the compiler was something along the line of: ... \/usr\/lib\/xorg\/extensions\/glx.so: Undefined symbol GetTimeInMillis ... Searching on the web held [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/\" \/>\n<meta property=\"og:site_name\" content=\"Random hacking\" \/>\n<meta property=\"article:published_time\" content=\"2009-01-24T13:53:19+00:00\" \/>\n<meta name=\"author\" content=\"cosimo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"cosimo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/\"},\"author\":{\"name\":\"cosimo\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\"},\"headline\":\"Ubuntu 8.04 and Perl OpenGL extension\",\"datePublished\":\"2009-01-24T13:53:19+00:00\",\"dateModified\":\"2009-01-24T13:53:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/\"},\"wordCount\":151,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\"},\"keywords\":[\"3d\",\"OpenGL\",\"perl\",\"ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/\",\"url\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/\",\"name\":\"Ubuntu 8.04 and Perl OpenGL extension - Random hacking\",\"isPartOf\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#website\"},\"datePublished\":\"2009-01-24T13:53:19+00:00\",\"dateModified\":\"2009-01-24T13:53:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.streppone.it\/cosimo\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ubuntu 8.04 and Perl OpenGL extension\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#website\",\"url\":\"https:\/\/www.streppone.it\/cosimo\/blog\/\",\"name\":\"Random hacking\",\"description\":\"Assume nothing. Code defensively. Keep it simple, stupid!\",\"publisher\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.streppone.it\/cosimo\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\",\"name\":\"cosimo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cb1d938720df45a2720724aae99e3bfc?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cb1d938720df45a2720724aae99e3bfc?s=96&r=g\",\"caption\":\"cosimo\"},\"logo\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/www.streppone.it\/cosimo\/blog\/author\/cosimo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ubuntu 8.04 and Perl OpenGL extension - Random hacking","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/","og_locale":"en_US","og_type":"article","og_title":"Ubuntu 8.04 and Perl OpenGL extension - Random hacking","og_description":"Recently, I was trying to install the perl OpenGL module for a fun hack I&#39;m trying to write at home. There was no way of getting it installed. The compilation didn&#39;t succeed. The error message from the compiler was something along the line of: ... \/usr\/lib\/xorg\/extensions\/glx.so: Undefined symbol GetTimeInMillis ... Searching on the web held [&hellip;]","og_url":"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/","og_site_name":"Random hacking","article_published_time":"2009-01-24T13:53:19+00:00","author":"cosimo","twitter_card":"summary_large_image","twitter_misc":{"Written by":"cosimo","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/#article","isPartOf":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/"},"author":{"name":"cosimo","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1"},"headline":"Ubuntu 8.04 and Perl OpenGL extension","datePublished":"2009-01-24T13:53:19+00:00","dateModified":"2009-01-24T13:53:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/"},"wordCount":151,"commentCount":0,"publisher":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1"},"keywords":["3d","OpenGL","perl","ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/","url":"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/","name":"Ubuntu 8.04 and Perl OpenGL extension - Random hacking","isPartOf":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#website"},"datePublished":"2009-01-24T13:53:19+00:00","dateModified":"2009-01-24T13:53:19+00:00","breadcrumb":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2009\/01\/ubuntu-8-04-and-perl-opengl-extension\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.streppone.it\/cosimo\/blog\/"},{"@type":"ListItem","position":2,"name":"Ubuntu 8.04 and Perl OpenGL extension"}]},{"@type":"WebSite","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#website","url":"https:\/\/www.streppone.it\/cosimo\/blog\/","name":"Random hacking","description":"Assume nothing. Code defensively. Keep it simple, stupid!","publisher":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.streppone.it\/cosimo\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1","name":"cosimo","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cb1d938720df45a2720724aae99e3bfc?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cb1d938720df45a2720724aae99e3bfc?s=96&r=g","caption":"cosimo"},"logo":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/image\/"},"url":"https:\/\/www.streppone.it\/cosimo\/blog\/author\/cosimo\/"}]}},"_links":{"self":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/posts\/533"}],"collection":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/comments?post=533"}],"version-history":[{"count":0,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/posts\/533\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/media?parent=533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/categories?post=533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/tags?post=533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}