To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.org.ldrawOpen lugnet.cad.dev.org.ldraw in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Organizations / LDraw / 2429
2428  |  2430
Subject: 
Re: Parts Tracker Status
Newsgroups: 
lugnet.cad.dev.org.ldraw
Date: 
Fri, 9 May 2003 16:20:52 GMT
Viewed: 
5433 times
  
In lugnet.cad.dev.org.ldraw, Don Heyse writes:
> In lugnet.cad.dev.org.ldraw, Dan Boger writes:
> > On Fri, May 09, 2003 at 01:32:53PM +0000, Don Heyse wrote:
> > > In lugnet.cad.dev.org.ldraw, Steve Bliss writes:
> > > > 2. Images of the unofficial files won't be generated.
> > > 
> > > Do you need help getting the image generation running?  It should work
> > > on BSD.
> > 
> > well, the problem is that we don't have the MESA libraries installed,
> > and it's going to be a problem setting them up on the server.  We are
> > working to have the pictures generated in semi-real time off the server
> > though.
> > 
> > Unless you can somehow make ldglite not require MESA (and X?) libraries
> > for off screen generation?
> 
> I'm pretty sure I've run it without the X libraries around, but I don't
> think I ever linked it without them.  So you might be able to build it
> on another BSD box with X and MESA and then run it on a headless box
> with just the OSMesa lib installed, assuming otherwise similar hardware.
> 
> With a little work you should even be able to build it on a headless
> box using a stub version of glut.  The MESA Offscreen library (OSMesa)
> doesn't use X and should build without it.  When ldglite runs in
> in offscreen mode it only makes OSMesa calls and bypasses even the glut
> library, so I think a stub would work there.  If I were trying to build
> it on a headless box, I'd see about building OSMesa first.  Then I'd
> get the glut header and see if I could remove any references to GLX.
> Then I'd try to build ldglite.  Hopefully it would get to the linker
> stage and fail on the missing glut functions.  At this point I'd create
> a stub glut.c with empty procedures for the missing (but unused) glut
> functions and then try to link it in.
> 
> That sounds pretty easy, right?  :^)

Just so I don't lose it, here's a link to someone who apparently has
had some success with this technique building OSMesa without X on an
ipaq.  The --without-x looks like a handy build option.

  http://sourceforge.net/mailarchive/message.php?msg_id=4011744

Meanwhile I've put it on my todo list to put together a makefile and
instructions for building an OSMesa only version of ldglite for headless
servers.  At my current development rate that should be done real soon
now in just a few short years.

Don



Message is in Reply To:
  Re: Parts Tracker Status
 
(...) I'm pretty sure I've run it without the X libraries around, but I don't think I ever linked it without them. So you might be able to build it on another BSD box with X and MESA and then run it on a headless box with just the OSMesa lib (...) (24 years ago, 9-May-03, to lugnet.cad.dev.org.ldraw)

9 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR