RE: [Gems-users] getting a copy of getopt-0


Date: Thu, 7 Jul 2005 08:54:31 -0500 (CDT)
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: RE: [Gems-users] getting a copy of getopt-0
Just pull out getopt.C and getopt.h and place them in ruby/tester.  Add it
to the compilation list and you should be good to go.

--Mike


>
> Mike,
>
>    Sorry about that, I forgot to mention that I was doing this for
> Solaris. I've downloaded a copy of glibc but I'm not sure how it should
> be structured. I'm just extracting the necessary files. Specfically,
> what's under the following:
>
> -I/s/getopt-0/include in "CC = /s/gcc-3.4.3/bin/g++
> -I/s/getopt-0/include"
> and
> -L/s/getopt-0/lib -lgetopt in "LDFLAGS += -m64 -L/s/getopt-0/lib
> -lgetopt"
>
> I need to know the specifics b/c our system doesn't have it; therefore I
> need to place it in my home directory and reference it from there.
>
> Thanks,
> Andy
>
> ----- Original Message Follows -----
> > Getopt should be part of glibc and hence exist on nearly every Linux
> > system. You should not need to specify the path to the getopt include
> > directory. The line you are referring to is in the Sparc Solaris
> > section of the Makefile and was probably due to some peculiar setup we
> > have.
> >
> > You can download getopt/glibc from the GNU website.
> >
> > --Mike
> >
> > > -----Original Message-----
> > > From: gems-users-bounces@xxxxxxxxxxx [mailto:gems-users-
> > > bounces@xxxxxxxxxxx] On Behalf Of ayu
> > > Sent: Wednesday, July 06, 2005 6:00 PM
> > > To: Gems Users
> > > Subject: [Gems-users] getting a copy of getopt-0
> > >
> > >
> > > Hello,
> > >
> > >
> > > In the ~gems/common/Makefile.common file, there's a line that
> > > requests a getopt-0/include directory, as shown below.
> > >
> > >   CC = /s/gcc-3.4.3/bin/g++ -I/s/getopt-0/include
> > >
> > > If it's sufficiently small, is it possible to email me a copy of
> > > that or point to where I can get a copy of it on the internet.
> > > Thanks.
> > > Andy
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ----- Original Message Follows -----
> > > > What shell are you using? Most of us use tcsh, not csh, here.
> > > >
> > > > On Wed, 29 Jun 2005 ayu wrote :
> > > > >
> > > > > Hello,
> > > > >
> > > > >    I'm have some problems compiling Ruby under Linux. It seems
> > > > > like a simple problem but I'm unable to solve it since I have no
> > > > > experience compiling programs (EE background). I tried reading
> > > > > previous threads on compling issues, but it didn't help much.
> > > > > Any help would be much appreciated. Below is a sample of the
> > > > > errors that I have seen.
> > > > > Andrew
> > > > >
> > > > > ~/gems/ruby> make  PROTOCOL=MOSI_CMP_token
> > > > > DESTINATION=MOSI_CMP_token 'nknown option: `-
> > > > > Usage: csh [ -bcdefilmnqstvVxX ] [ argument ... ].
> > > > > ls: generated/MOSI_CMP_token/*.C: No such file or directory
> > > > > cat: ../protocols/MOSI_CMP_token.slicc: No such file or
> > > > > directory Ruby: Building protocol: MOSI_CMP_token
> > > > > Ruby: Making slicc
> > > > > cd ../slicc; make
> > > > > 'nknown option: `-
> > > > > Usage: csh [ -bcdefilmnqstvVxX ] [ argument ... ].
> > > > > 'nknown option: `-
> > > > > Usage: csh [ -bcdefilmnqstvVxX ] [ argument ... ].
> > > > > make[1]: Entering directory `/home/troll/gems/slicc'
> > > > > SLICC: Running flex and bison
> > > > > make generated/generated
> > > > > 'nknown option: `-
> > > > > Usage: csh [ -bcdefilmnqstvVxX ] [ argument ... ].
> > > > > 'nknown option: `-
> > > > > Usage: csh [ -bcdefilmnqstvVxX ] [ argument ... ].
> > > > > make[2]: Entering directory `/home/troll/gems/slicc'
> > > > > make[2]: `generated/generated' is up to date.
> > > > > make[2]: Leaving directory `/home/troll/gems/slicc'
> > > > > SLICC: Building slicc executable
> > > > > make /bin/slicc.exec
> > > > > 'nknown option: `-
> > > > > Usage: csh [ -bcdefilmnqstvVxX ] [ argument ... ].
> > > > > 'nknown option: `-
> > > > > Usage: csh [ -bcdefilmnqstvVxX ] [ argument ... ].
> > > > > make[2]: Entering directory `/home/troll/gems/slicc'
> > > > > /dev/null -o /obj/parser.o -c generated/parser.c -DYY_NO_UNPUT
> > > > > -Wall -W -Wwrite-strings -Woverloaded-virtual -Wno-unused  -g
> > > > > -ggdb -g3 -O2 -finline-functions -DNO_VECTOR_BOUNDS_CHECKS
> > > > > -DMULTIFACET_NO_OPT_WARN   -I. -I../common -Igenerated -Isymbols
> > > > > -Igenerator -Iast make[2]: execvp: /dev/null: Permission denied
> > > > > make[2]: *** [/obj/parser.o] Error 127
> > > > > make[2]: Leaving directory `/home/troll/gems/slicc'
> > > > > make[1]: *** [all] Error 2
> > > > > make[1]: Leaving directory `/home/troll/gems/slicc'
> > > > > make: *** [all] Error 2
> > > > >
> > > > > _______________________________________________
> > > > > Gems-users mailing list
> > > > > Gems-users@xxxxxxxxxxx
> > > > > https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> > > _______________________________________________
> > > Gems-users mailing list
> > > Gems-users@xxxxxxxxxxx
> > > https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>
[← Prev in Thread] Current Thread [Next in Thread→]