Installing Fox, FXRuby and fxscintilla

I want to try out FreeRide, but just installing its dependencies has been
an excercise in frustration.

I’ve spent weeks just trying to get any of the dependencies to install.
Fox requires the libstdc+±libc6.1-2.so.3 library. Now matter were I
look, I just haven’t been able to find it. The ones that I have are
libstdc+±libc6.1-1.so.2 and libstdc+±libc6.2-2.so.3.

Normally I’d think that this is close enough. Indeed, ./configure
produces no errors, but I still can’t compile Fox:

c++ -DPACKAGE=“fox” -DVERSION=“1.0.29” -DHAVE_DLFCN_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_DIRENT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1
-DHAVE_PNG_H=1 -DHAVE_ZLIB_H=1 -DHAVE_VSSCANF=1 -I. -I. -I…/include
-I…/include -DHAVE_XSHM -DHAVE_PNG_H=1 -DHAVE_ZLIB_H=1 -Wall -W
-Wmissing-prototypes -Woverloaded-virtual -Wformat -DHAVE_OPENGL
-DSUN_OGL_NO_VERTEX_MACROS -DHAVE_MESA -I/usr/X11R6/include -c
FXDataTarget.cpp -o FXDataTarget.o >/dev/null 2>&1
make[1]: *** [FXDataTarget.lo] Error 1

There are some RPMs that seem very outdated. After installing those,
neither FXRuby nor fxscintilla will compile.

Since I truly don’t know what to do, could anyone offer a suggestion?

Why did they have to make FreeRide with the most difficult to install
dependencies imaginable? I really can’t see how they can expect a regular
user (even for Linux standards) to use FreeRide.

Thanks for the help,
Daniel.

Daniel Carrera wrote:

I’ve spent weeks just trying to get any of the dependencies to install.

Weeks?

Fox requires the libstdc+±libc6.1-2.so.3 library. Now matter were I
look, I just haven’t been able to find it. The ones that I have are
libstdc+±libc6.1-1.so.2 and libstdc+±libc6.2-2.so.3.

If you’re building from source, FOX doesn’t depend on any particular
version of the standard C++ library.

If you’re installing it from an RPM it would presumably have a
dependency on whatever version of libstdc++ it was built against on the
RPM packager’s machine. For example, if the packager built a FOX RPM on
Red Hat Linux 8.0 it probably wouldn’t work on earlier versions of Red
Hat Linux, or for other Linux distributions that happen to use RPMs
(such as Mandrake).

Since you’re talking about dependencies on particular versions of
libstdc++, am I correct to assume that you’re trying to install an RPM
that you found somewhere, and that rpm is complaining about that dependency?

There are some RPMs that seem very outdated. After installing those,
neither FXRuby nor fxscintilla will compile.

I usually keep up-to-date RPMs for Red Hat Linux 8.0 here:

http://sourceforge.net/project/showfiles.php?group_id=3372

but some other sources for RPMs/DEBs can be found here:

http://www.fifthplanet.net/cgi-bin/wiki.pl?Download

I didn’t build any of those other RPMs or DEBs so I can’t comment on
their reliability, etc.

Since I truly don’t know what to do, could anyone offer a suggestion?

To sidestep the issue of binary incompatibilities for this RPM or that
RPM, I would just go straight to the source (literally). Download the
latest source tarballs for fox-1.0, FXRuby-1.0 and FXScintilla-1.x.

Start by getting a working FOX installation before moving on to
FXScintilla (which would be step 2) or FXRuby (step 3). For most
recent Linux distributions this usually just involves:

tar xzf fox-1.0.29.tar.gz
cd fox-1.0.29
./configure --with-opengl=opengl
make
make install

and then running some of the test programs (in the fox-1.0.29/tests
subdirectory) to make sure things are working. Do not proceed past this
step until you’re satisfied that things are OK.

Once that’s working, move on to the FXScintilla build. Again, if you
have a good FOX installation this should just involve the usual:

tar xzf fxscintilla-1.49.tar.gz
cd fxscintilla-1.49
./configure
make
make install

I am not the FXScintilla developer/maintainer, but I think Gilles still
has a little test program somewhere in there that you can run to see if
it’s working.

The last step is to build FXRuby. For most cases (under Linux) this
should involve:

tar xzf FXRuby-1.0.17.tar.gz
cd FXRuby-1.0.17
ruby install.rb config -- \
    --with-fxscintilla-include=/usr/local/include/fxscintilla \
    --with-fxscintilla-lib=/usr/local/lib
ruby install.rb setup
ruby install.rb install

If you leave out the ‘–with-fxscintilla-xxx’ options it will not
build FXScintilla support into FXRuby and as a result FreeRIDE will not
work. I will probably change this for the next FXRuby release, so that
it snoops around a little to try to automatically detect the presence of
FXScintilla in a few likely places – but for now you have to manually
configure those directories as shown.

Hope this helps,

Lyle

Weeks?

Yes, weeks. To be fair, I’m not working at it 24/7. I usually I spend
half a day trying, get really frustrated and come back to it 4 days later.

If you’re building from source, FOX doesn’t depend on any particular
version of the standard C++ library.

I would think so, but I can’t imagine any other reason why the compile
should be failing.

Since you’re talking about dependencies on particular versions of
libstdc++, am I correct to assume that you’re trying to install an RPM
that you found somewhere, and that rpm is complaining about that
dependency?

I took an RPM from the FOX website. It complained that it wanted
libstdc+±libc6.1-2.so.3. I didn’t have that, but I had
libstdc+±libc6.2-2.so.3. I figured that it should be close enough, so I
made a symlink and installed with ‘–nodeps’.

My efforts to find precisely the 1-2 version have failed. But like you
said, I shouldn’t have to.

To sidestep the issue of binary incompatibilities for this RPM or that
RPM, I would just go straight to the source (literally). Download the
latest source tarballs for fox-1.0, FXRuby-1.0 and FXScintilla-1.x.

I’ve been trying to do that. Indeed, I’ll have to figure out how to do
that eventually because I’ll only be at a Linux machine for a couple of
weeks. Then I’m comming back to the Solaris machine I normally use.
(BTW, the fox compile has failed in both the Sun and Linux machines).

I just tried again, and it failed again:

In file included from …/include/xincs.h:35,
from FXComposite.cpp:24:
/usr/include/stdlib.h:-6859: internal error: Segmentation fault

Again, ./configure --with-opengl=opengl ran fine and gave no errors. But
the compile just didn’t work. A very frustrating problem is that the
compile doesn’t always fail at the same place. The next time I compile I
got:

c++ -DPACKAGE="fox" -DVERSION="1.0.29" -DHAVE_DLFCN_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_DIRENT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1
-DHAVE_PNG_H=1 -DHAVE_ZLIB_H=1 -DHAVE_VSSCANF=1 -I. -I. -I…/include
-I…/include -DHAVE_XSHM -DHAVE_PNG_H=1 -DHAVE_ZLIB_H=1 -Wall -W
-Wmissing-prototypes -Woverloaded-virtual -Wformat -DHAVE_OPENGL
-DSUN_OGL_NO_VERTEX_MACROS -I/usr/X11R6/include -c FXDVec.cpp -o FXDVec.o

/dev/null 2>&1
make[1]: *** [FXDVec.lo] Error

So I really can’t figure out what is causing the compile to fail. It
fails on both Linux and Sun, it doesn’t fail in the same place each time,
but the ./configure step always works.

Hope this helps,

Lyle

Thank you for trying. I’ll keep working at it, but I’m really stuck.

Daniel.

Lyle,

Thanks for the the excellent instructions on how to build Fox, fxscintilla and
fxruby. I think this would be very useful in the FXRuby home page.

I’m new to Linux, Fox and Ruby, so please excuse the obvious questions.

I’m trying to build Fox as per instructions on Mandrake 9.0. At the end of the
make I get the following error:

In file included from reswrap.cpp:24;
…/include/xincs.h:178:20:GL/glu.h: No such file or directory
make[1]: *** [reswrap.o] Error 1
make[1]: Leaving directory etc…

My Mandrake installation is bog standard and KDE and GNOME both work. Is there
something else that I need to install? Where does Open GL come into this?

Thanks in Advance.
Ot

···

On Saturday 28 December 2002 11:52 am, Lyle Johnson wrote:

Start by getting a working FOX installation before moving on to
FXScintilla (which would be step 2) or FXRuby (step 3). For most
recent Linux distributions this usually just involves:

tar xzf fox-1.0.29.tar.gz
cd fox-1.0.29
./configure --with-opengl=opengl
make
make install

Hi I’m new to Ruby (my 1st post :slight_smile: as well as to GUIs, but I’d like to install
FreeRIDE and try some GUI toolkit(s).

Start by getting a working FOX installation before moving on to
FXScintilla (which would be step 2) or FXRuby (step 3). For most
recent Linux distributions this usually just involves:

> > and then running some of the test programs (in the fox-1.0.29/tests > subdirectory) to make sure things are working. Do not proceed past this > step until you're satisfied that things are OK.

I installed FOX (1.0.29) and tried all test programs - everything is OK.

Once that’s working, move on to the FXScintilla build. Again, if you
have a good FOX installation this should just involve the usual:

tar xzf fxscintilla-1.49.tar.gz
cd fxscintilla-1.49
./configure
make
make install

The problem is with FXScintilla (1.49.1).

Configure script exits with the following:

checking how to run the C++ preprocessor... g++ -E checking fox/fx.h usability... yes checking fox/fx.h presence... yes checking for fox/fx.h... yes checking for FOX library... yes checking FOX version 1.0.x... no checking FOX version 1.1.x... no configure: error: Incompatible FOX version

Hope this helps,

Any idea?

Sincerely,
Gour

ps. I’m running SuSE 8.0.

···

Lyle Johnson (lyle@users.sourceforge.net) wrote:

–
Gour
gour@mail.inet.hr
Registered Linux User #278493

Phew!!

With help from Daniel Carrera and Michael Libby, I managed to complete the
task of building Fox, FxScintilla and FXRuby from source.

For the benefit of other novices who may come after me, I’d like to add a few
things that got me.

On Mandrake 9.0, you will need to install the following OpenGL related
packages:

XFree86-devel-4.2.1-3mdk.rpm
libMesaglut3-4.0.3-6mdk.rpm
libMesaglut3-devel-4.0.3-6mdk.rpm

To sidestep the issue of binary incompatibilities for this RPM or that
RPM, I would just go straight to the source (literally). Download the
latest source tarballs for fox-1.0, FXRuby-1.0 and FXScintilla-1.x.

Start by getting a working FOX installation before moving on to
FXScintilla (which would be step 2) or FXRuby (step 3). For most
recent Linux distributions this usually just involves:

tar xzf fox-1.0.29.tar.gz
cd fox-1.0.29
./configure --with-opengl=opengl
make
make install

and then running some of the test programs (in the fox-1.0.29/tests
subdirectory) to make sure things are working. Do not proceed past this
step until you’re satisfied that things are OK.

As ‘root’, you need to add the following line to the end of /etc/ld.so.conf

/usr/local/lib

Save the file and run ‘ldconfig’ before proceeding.
Exit from ‘root’.

···

On Saturday 28 December 2002 11:52 am, Lyle Johnson wrote:

Once that’s working, move on to the FXScintilla build. Again, if you
have a good FOX installation this should just involve the usual:

tar xzf fxscintilla-1.49.tar.gz
cd fxscintilla-1.49
./configure
make
make install

I am not the FXScintilla developer/maintainer, but I think Gilles still
has a little test program somewhere in there that you can run to see if
it’s working.

The last step is to build FXRuby. For most cases (under Linux) this
should involve:

tar xzf FXRuby-1.0.17.tar.gz
cd FXRuby-1.0.17
ruby install.rb config –
–with-fxscintilla-include=/usr/local/include/fxscintilla
–with-fxscintilla-lib=/usr/local/lib
ruby install.rb setup
ruby install.rb install

If you leave out the ‘–with-fxscintilla-xxx’ options it will not
build FXScintilla support into FXRuby and as a result FreeRIDE will not
work. I will probably change this for the next FXRuby release, so that
it snoops around a little to try to automatically detect the presence of
FXScintilla in a few likely places – but for now you have to manually
configure those directories as shown.

Hope this helps,

Lyle

How about removing the ‘>/dev/null 2>&1’ from that command so you can
see what’s really dying there, like this:

c++ -DPACKAGE="fox" -DVERSION="1.0.29" -DHAVE_DLFCN_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_PNG_H=1 -DHAVE_ZLIB_H=1 -DHAVE_VSSCANF=1 -I. -I. -I…/include -I…/include -DHAVE_XSHM -DHAVE_PNG_H=1 -DHAVE_ZLIB_H=1 -Wall -W -Wmissing-prototypes -Woverloaded-virtual -Wformat -DHAVE_OPENGL -DSUN_OGL_NO_VERTEX_MACROS -I/usr/X11R6/include -c FXDVec.cpp -o FXDVec.o

That will give some meaningful output for us to use.

···

Daniel Carrera (dcarrera@math.umd.edu) wrote:

c++ -DPACKAGE="fox" -DVERSION="1.0.29" -DHAVE_DLFCN_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_DIRENT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1
-DHAVE_PNG_H=1 -DHAVE_ZLIB_H=1 -DHAVE_VSSCANF=1 -I. -I. -I…/include
-I…/include -DHAVE_XSHM -DHAVE_PNG_H=1 -DHAVE_ZLIB_H=1 -Wall -W
-Wmissing-prototypes -Woverloaded-virtual -Wformat -DHAVE_OPENGL
-DSUN_OGL_NO_VERTEX_MACROS -I/usr/X11R6/include -c FXDVec.cpp -o FXDVec.o

/dev/null 2>&1
make[1]: *** [FXDVec.lo] Error

So I really can’t figure out what is causing the compile to fail. It
fails on both Linux and Sun, it doesn’t fail in the same place each time,
but the ./configure step always works.

–
Eric Hodel - drbrain@segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04

> Again, ./configure --with-opengl=opengl ran fine and gave no errors. > But the compile just didn't work. A very frustrating problem is that > the compile doesn't always fail at the same place. The next time I > compile I got:

This may be completely off-base, but it is always worth thinking about:
large compiles are resource intensive activities that sometimes point up
problems on your computer that otherwise go unnoticed. Weird problems and
inconsistent errors always make me think about hardware problems. Have you
rebooted lately? Could there be memory/disk problems on the machine? Have
you had other weird problems with the machine lately? Since there is more
than one machine involved, could there be a power problem? It’d be
unlikely they are both having bad memory problems at the same time, but
I’ve seen stranger things.

Just something to think about.

···

On Sat, 28 Dec 2002 14:06:14 +0900 Daniel Carrera dcarrera@math.umd.edu wrote:

c++ -DPACKAGE="fox" -DVERSION="1.0.29" -DHAVE_DLFCN_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_DIRENT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1
-DHAVE_PNG_H=1 -DHAVE_ZLIB_H=1 -DHAVE_VSSCANF=1 -I. -I. -I…/include
-I…/include -DHAVE_XSHM -DHAVE_PNG_H=1 -DHAVE_ZLIB_H=1 -Wall -W
-Wmissing-prototypes -Woverloaded-virtual -Wformat -DHAVE_OPENGL
-DSUN_OGL_NO_VERTEX_MACROS -I/usr/X11R6/include -c FXDVec.cpp -o
FXDVec.o>/dev/null 2>&1
make[1]: *** [FXDVec.lo] Error

So I really can’t figure out what is causing the compile to fail. It
fails on both Linux and Sun, it doesn’t fail in the same place each
time, but the ./configure step always works.

Hope this helps,

Lyle

Thank you for trying. I’ll keep working at it, but I’m really stuck.

Daniel.

–
“Daniel P. Zepeda” <daniel@z,e,p,e,d,a,-,z,o,n,e.net>
(Remove commas for address)

Daniel Carrera wrote:

Yes, weeks. To be fair, I’m not working at it 24/7. I usually I spend
half a day trying, get really frustrated and come back to it 4 days later.

Heh. This sounds like my efforts to get FXRuby ported to Mac OS X :wink:

I’ve been trying to do that. Indeed, I’ll have to figure out how to do
that eventually because I’ll only be at a Linux machine for a couple of
weeks. Then I’m comming back to the Solaris machine I normally use.
(BTW, the fox compile has failed in both the Sun and Linux machines).

At my day job we build (and ship!) commercial applications on Solaris
(and Linux, and a host of other OSes). Something unusual is going on here…

I just tried again, and it failed again:

In file included from …/include/xincs.h:35,
from FXComposite.cpp:24:
/usr/include/stdlib.h:-6859: internal error: Segmentation fault

Again, ./configure --with-opengl=opengl ran fine and gave no errors. But
the compile just didn’t work. A very frustrating problem is that the
compile doesn’t always fail at the same place.

OK, the facts that it failed with an internal compiler error (for this
particular attempt) and that the compiles don’t always fail in the same
places are big red flags to me that indicate that there’s some more
fundamental problem, like memory (RAM) failing or some other hardware
problem. Another possibility is that you’re running into a compiler bug
that has been fixed in more recent versions of gcc. Do you know which
compiler version you’re using? If it’s older than, say, gcc-2.95, is it
possible to upgrade to a more recent version?

Thank you for trying. I’ll keep working at it, but I’m really stuck.

OK. Keep me posted (or check in with the foxgui-users mailing list) if
there’s something else we can try.

I’m new to Linux, Fox and Ruby,

Welcome.

The “./configure; make; make install” is the common way to install sources
in Linux world. You can type ‘./configure --help’ for all the options
that configure takes.

My Mandrake installation is bog standard and KDE and GNOME both work. Is
there something else that I need to install? Where does Open GL come
into this?

Yes, it’s expecting OpenGL.

Two options:

  1. Install Fox without OpenGL:

./configure --with-opengl=no

  1. Install OpenGL:

Mandrake Control Center
→ Software Management
→ Install Software
→ Search for ‘opengl’ and install all the packages.

There will likely be two packages. One contains the library per se, the
other the include files that allow you to compile software to use the
library. You need both.

Then you can do a ‘./configure --with-opengl=opengl’

Cheers,
Daniel Carrera
Graduate Teaching Assistant. Math Dept.
University of Maryland. (301) 405-5137

···

On Mon, 30 Dec 2002, Ot wrote:

On Saturday 28 December 2002 11:52 am, Lyle Johnson wrote:

Start by getting a working FOX installation before moving on to
FXScintilla (which would be step 2) or FXRuby (step 3). For most
recent Linux distributions this usually just involves:

tar xzf fox-1.0.29.tar.gz
cd fox-1.0.29
./configure --with-opengl=opengl
make
make install

Lyle,

Thanks for the the excellent instructions on how to build Fox, fxscintilla and
fxruby. I think this would be very useful in the FXRuby home page.

I’m new to Linux, Fox and Ruby, so please excuse the obvious questions.

I’m trying to build Fox as per instructions on Mandrake 9.0. At the end of the
make I get the following error:

In file included from reswrap.cpp:24;
…/include/xincs.h:178:20:GL/glu.h: No such file or directory
make[1]: *** [reswrap.o] Error 1
make[1]: Leaving directory etc…

My Mandrake installation is bog standard and KDE and GNOME both work. Is there
something else that I need to install? Where does Open GL come into this?

Thanks in Advance.
Ot

When you install a library like Fox you may need to run ‘ldconfig’ (as
root) to ensure that subsequent compiles have the correct knowledge of
your new library… did you do that?

-michael

···

On Monday 30 December 2002 14:07, Gour wrote:

I installed FOX (1.0.29) and tried all test programs - everything is OK.

The problem is with FXScintilla (1.49.1).
Configure script exits with the following:
checking how to run the C++ preprocessor… g++ -E
checking fox/fx.h usability… yes
checking fox/fx.h presence… yes
checking for fox/fx.h… yes
checking for FOX library… yes
checking FOX version 1.0.x… no
checking FOX version 1.1.x… no
configure: error: Incompatible FOX version

Any idea?

ps. I’m running SuSE 8.0.

Ot wrote:

Thanks for the the excellent instructions on how to build Fox, fxscintilla and
fxruby. I think this would be very useful in the FXRuby home page.

They are found in the documentation:

http://www.fxruby.org/doc/build.html

Of course, I have long ago learned that no one reads the documentation :wink:

I’m new to Linux, Fox and Ruby, so please excuse the obvious questions.

I’m trying to build Fox as per instructions on Mandrake 9.0. At the end of the
make I get the following error:

In file included from reswrap.cpp:24;
./include/xincs.h:178:20:GL/glu.h: No such file or directory
make[1]: *** [reswrap.o] Error 1
make[1]: Leaving directory etc…

My Mandrake installation is bog standard and KDE and GNOME both work. Is there
something else that I need to install? Where does Open GL come into this?

You are missing the OpenGL header files. I believe that for Mandrake
Linux these come from the XFree86-devel package (but maybe someone else
can confirm).

This may be completely off-base, but it is always worth thinking about:
large compiles are resource intensive activities that sometimes point up
problems on your computer that otherwise go unnoticed. Weird problems
and inconsistent errors always make me think about hardware problems.
Have you rebooted lately? Could there be memory/disk problems on the
machine? Have you had other weird problems with the machine lately?
Since there is more than one machine involved, could there be a power
problem? It’d be unlikely they are both having bad memory problems at
the same time, but I’ve seen stranger things.

Just something to think about.

That’s a good thought. I have every reason to believe that the computer
I’m at right now is defective. It is a very old computer and I know for
fact that it’s dying. So that might be it I guess.

However, this doesn’t explain the problem at the other computer. The
other machine is a fairly recent Sun workstation that is in perfectly good
condition. The two computers do not share a power source, they are in
different locations (different countries actually).

Maybe when I go back to the Sun machine I’ll find out if it always breaks
in the same place or not.

Thanks,
Daniel.

Daniel,

Thanks for such a prompt reply. I searched through my Mandrake distribution
and didn’t get a hit. My distrinution is a free cut down version that I got
from a local PC Mag.

Would you be able to tell me which RPMs I need. I’ll download them from my
local ftp mirror.

Much appreciate. I’m really looking forward to getting this thing working.
Ruby and FXRuby look like a really good framework for quickly developing
Apps.

Cheers,
Ot

···

On Monday 30 December 2002 04:10 pm, Daniel Carrera wrote:

  1. Install OpenGL:

Mandrake Control Center
→ Software Management
→ Install Software
→ Search for ‘opengl’ and install all the packages.

There will likely be two packages. One contains the library per se, the
other the include files that allow you to compile software to use the
library. You need both.

Hi Michael,
I’m running Mandrake 9.0. I tried running ‘ldconfig’ as root as suggested.
I also ran make install again.
Still getting the same message.

Ot Ratsaphong

···

On Tuesday 31 December 2002 07:31 am, Michael C. Libby wrote:

When you install a library like Fox you may need to run ‘ldconfig’ (as
root) to ensure that subsequent compiles have the correct knowledge of
your new library… did you do that?

Ot wrote:

They are found in the documentation:

http://www.fxruby.org/doc/build.html

Of course, I have long ago learned that no one reads the documentation :wink:

I must say that this morning I did go and have a look at the excellent
documentation and did find the build instructions there. Thank you.

You are missing the OpenGL header files. I believe that for Mandrake
Linux these come from the XFree86-devel package (but maybe someone else
can confirm).

Thanks to Daniel Carrera’s assistance, I have been able to find the OpenGL
header files for Mandrake 9.0. Everything worked once I installed:

XFree86-devel-4.2.1-3mdk.rpm
libMesaglut3-4.0.3-6mdk.rpm
libMesaglut3-devel-4.0.3-6mdk.rpm

Thanks for the excellent work you have done on FXRuby.
Wishing you the Best and Every success in the New Year.

Ot Ratsaphong

···

On Tuesday 31 December 2002 12:41 pm, Lyle Johnson wrote:

Ahh… #%!*#$/%#

Thank you for your reminder, Michael.

After switching to apt4rpm mechanism where all updates are done automagically,
I didn’t install lot of tarballs and completely forgot the need for ‘ldconfig’.

Yes, now everything is fine.

Sincerely,
Gour

···

Michael C. Libby (m_libby@andsoforth.com) wrote:

When you install a library like Fox you may need to run ‘ldconfig’ (as
root) to ensure that subsequent compiles have the correct knowledge of
your new library… did you do that?

–
Gour
gour@mail.inet.hr
Registered Linux User #278493

Oh, don’t be so sour Lyle ;->

Actually, the ones that read the documentation (like me) install the
packages with no problems, so you never hear from us. Just wanted to
chime in with that so you know that the documentation efforts are not in
vain. I’ll bet you would have a ton more questions if there were no
documentation (or simply no users).

D

···

On Tue, 31 Dec 2002 10:41:04 +0900 Lyle Johnson lyle@users.sourceforge.net wrote:

Of course, I have long ago learned that >>>no one<<<< reads the
documentation :wink:

–
“Daniel P. Zepeda” <daniel@z,e,p,e,d,a,-,z,o,n,e.net>
(Remove commas for address)

I believe they are:

XFree86-devel-4.2.1-3mdk
libMesaglut3-4.0.3-6mdk
libMesaglut3-devel-4.0.3-6mdk

You should add an ftp mirror to your sources and install through the
control center. That way it can do the search and the package
dependencies.

I installed my system through a network installation (the process takes
forever, even on a high-speed system). Now, when I need to install
something, Mandrake just downloads and installs from the internet. It
works great.

Daniel Carrera
Graduate Teaching Assistant. Math Dept.
University of Maryland. (301) 405-5137

···

On Mon, 30 Dec 2002, Ot wrote:

On Monday 30 December 2002 04:10 pm, Daniel Carrera wrote:

  1. Install OpenGL:

Mandrake Control Center
→ Software Management
→ Install Software
→ Search for ‘opengl’ and install all the packages.

There will likely be two packages. One contains the library per se, the
other the include files that allow you to compile software to use the
library. You need both.

Daniel,

Thanks for such a prompt reply. I searched through my Mandrake distribution
and didn’t get a hit. My distrinution is a free cut down version that I got
from a local PC Mag.

Would you be able to tell me which RPMs I need. I’ll download them from my
local ftp mirror.

Much appreciate. I’m really looking forward to getting this thing working.
Ruby and FXRuby look like a really good framework for quickly developing
Apps.

Cheers,
Ot

Do you know where you installed Fox to (default for user installed
libraries is /usr/local/lib/)? Is that path listed in /etc/ld.so.conf?
This is required for ldconfig to work.

You can also try appending the LD_LIBRARY_PATH environment variable with
the path where you installed Fox.

It might also be useful to run ‘./configure --help’ and see if there’s a
config option to hardcode the location of the Fox library.

(from ./configure --help in fxscintilla-1.49)
–with-foxinclude=DIR use Fox 1.0 includes from DIR
–with-foxlib=DIR use Fox 1.0 libs from DIR

So you might try these options with your ./configure command as well.

-michael

···

On Monday 30 December 2002 17:43, Ot wrote:

On Tuesday 31 December 2002 07:31 am, Michael C. Libby wrote:

When you install a library like Fox you may need to run ‘ldconfig’ (as
root) to ensure that subsequent compiles have the correct knowledge of
your new library… did you do that?

I’m running Mandrake 9.0. I tried running ‘ldconfig’ as root as
suggested. I also ran make install again.
Still getting the same message.