[Serusers] Installing SER scr file question

Bogdan-Andrei IANCU iancu at fokus.fraunhofer.de
Wed Nov 26 11:34:38 CET 2003


Looks like everything is ok - you have gcc version 3.2, but is called 
gcc, not gcc-3.2  - so you compile ser with gcc version 3.2.
If you use an older version than 3.0, SER's make will give an warning 
about using a quite old gcc version.

Bogdan

Peter David wrote:

> Okay
>
> Do I have to have that installed could I have the Redhat 9 gcc rpms 
> installed instead?
>
> [root at bbcom-ser mysql-4.0.16]# gcc-3.2 -v
> -bash: gcc-3.2: command not found
> [root at bbcom-ser mysql-4.0.16]# gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
> --infodir=/usr/share/info --enable-shared --enable-threads=posix 
> --disable-checking --with-system-zlib --enable-__cxa_atexit 
> --host=i386-redhat-linux
> Thread model: posix
> gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
> [root at bbcom-ser mysql-4.0.16]#
>
>
> -----Original Message-----
> From: Bogdan-Andrei IANCU [mailto:iancu at fokus.fraunhofer.de]
> Sent: Monday, November 24, 2003 10:51 AM
> To: Peter David
> Cc: serusers at lists.iptel.org
> Subject: Re: [Serusers] Installing SER scr file question
>
>
> Maybe you don't have gcc-3.2 installed!
> try to do gcc-3.2 -v and see if installed.
>
> Bogdan
>
> Peter David wrote:
>
> >         Hello all again,
> >
> >         
> >
> >         This is you rookie installer Peter again having question
> >         regards to the Source File installation
> >
> >         question:
> >
> >         Do I execute all of the following via this the INSTALL 
> instruction
> >
> >         
> http://cvs.berlios.de/cgi-bin/viewcvs.cgi/*checkout*/ser/sip_router/INSTALL
> >
> >         2. Howto Build ser From Source Distribution
> >         -------------------------------------------
> >
> >         (NOTE: if make doesn't work try gmake  instead)
> >
> >         - compile with default options:
> >
> >         make   #builds only ser core, equivalent to make ser
> >         make modules
> >
> >         or make all #builds everything
> >
> >         - compile with profiling
> >
> >         make PROFILE=-pg all
> >
> >         -compile debug mode version
> >
> >         make mode=debug all
> >
> >         -compile debug version with profiling
> >
> >         make mode=debug PROFILE=-pg all
> >
> >         -compile only the print module
> >
> >         make modules=modules/print modules
> >
> >         -compile all the "default" modules except textops and vm
> >
> >         make skip_modules="textops vm" modules
> >
> >         -compile all default modules and include uri_radius (not
> >         compiled by default):
> >
> >         make include_modules="uri_radius" modules
> >
> >         -compile all the modules from the modules subdirectory (even
> >         the one excluded
> >         by default):
> >
> >         make exclude_modules="" modules
> >
> >         -compile all the modules from the modules subdirectory
> >         excluding vm:
> >
> >         make exclude_modules=vm modules
> >
> >         or
> >
> >         make exclude_modules="" skip_modules=vm modules
> >
> >
> >         -compile with the "tm" module statically linked and with 
> profiling
> >
> >         make static_modules=tm PROFILE=-pg all
> >
> >         -compile with gcc-3.2 instead of gcc
> >
> >         make CC=gcc-3.2 all  //Seems to fail when I do this
> >
> >         or
> >
> >         CC=gcc-3.2 make all //Seems to fail when I do this
> >
> >          Seems to work when I do a  CC=gcc make all or make CC=gcc all
> >
> >
> >
> >         Make targets:
> >
> >         Clean:
> >
> >         make clean   (clean the modules too)
> >         make proper  (clean also the dependencies)
> >         make distclean (the same as proper)
> >         make mantainer-clean (clean everything, including auto
> >         generated files,
> >         tags, *.dbg a.s.o)
> >
> >         Compile:
> >
> >         make proper
> >         make
> >         (or gmake on non-Linux systems)
> >         make modules
> >         or make modules exclude_modules="CVS print" etc.
> >
> >         Make tags:
> >
> >         make TAGS
> >
> >         Create a tar.gz with the sources (in ../):
> >
> >         make tar
> >
> >         Create a tar.gz with the binary distribution (in ../):
> >
> >         make bin
> >
> >         Create a gzipped solaris package (in ../):
> >
> >         make sunpkg
> >
> >         Create debian packages (in ../):
> >
> >         make deb
> >
> >         or
> >
> >         dpkg-buildpackage
> >
> >         Install:
> >
> >         make prefix=/usr/local  install
> >
> >         
> ---------------------------------------------------------------------------------------------------------------
> >
> >         Or do I do the folllowing
> >
> >         
> >
> >         or do I just do the following to make it work
> >
> >         ./configure
> >
> >         make
> >
> >         make prefix=/usr/local/ install
> >
> >         
> >
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >Serusers mailing list
> >serusers at lists.iptel.org
> >http://lists.iptel.org/mailman/listinfo/serusers
> > 
> >
>
>





More information about the sr-users mailing list