Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Arjay on April 04, 2003, 10:51:16 AM

Title: compatibility of compilers to be installed
Post by: Arjay on April 04, 2003, 10:51:16 AM
hi,
  i forgive me for asking this but i just want to make sure something about installing compilers in my SME 5.6 server... it is said Question #7 of Faqs that,

"If you are still certain that you would like to have the ability to compile and make packages directly on your SME Server, you'll need to install the RedHat 7.1 rpms..."

------> my problem is that i dont have a redhat 7.1 cd but have a Redhat 8.0 cd... will there be compatibility problems with the kernel or something if ill install the said compilers (cpp, glibc-devel, glib-devel, make, libstdc++-devel, gcc, gcc-c++, and kernel-headers) from Redhat 8.0's cd and not from Redhat 7.1 ? coz i really need those compilers....

Arjay
Title: Re: compatibility of compilers to be installed
Post by: Steve Brock on April 04, 2003, 06:46:31 PM
Use RedHat 7.3 RPMS.   snag em from rpmfind.net
Title: Re: compatibility of compilers to be installed
Post by: Bill Talcott on April 04, 2003, 07:52:39 PM
http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/dev-tools/
Title: Re: compatibility of compilers to be installed
Post by: Arjay on April 04, 2003, 10:56:06 PM
Bill Talcott wrote:
>
> http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/dev-tools/


1.) do i need to download all the rpms in /dev-tools/SME56/
  dir??? or just the following:   cpp, glibc-devel, glib-devel, make, libstdc++-devel, gcc, gcc-c++, and kernel-headers ???  


2.) im using SME5.6 but i cant find kernel-headers rpm in /dev-tools/SME56/ ... only in /dev-tools/SME55/   will i skip it or download it from /SME55/ folder ???


3.) what will i use for installing?  
   ---->  rpm -Uvh --replacepkgs *.rpm      
                      or
   -----> rpm -ivh  *.rpm
Title: Re: compatibility of compilers to be installed
Post by: Charlie Brady on April 04, 2003, 11:03:55 PM
Arjay wrote:
 
> 3.) what will i use for installing?  
>    ---->  rpm -Uvh --replacepkgs *.rpm      
>                       or
>    -----> rpm -ivh  *.rpm

Unless you really know what you are doing, you should only install RPMs using "rpm -Uhv *.rpm".

You should also avoid trying to build any RPMs (go to rpmfind.net and search there), and if you do build RPMs, do it on a RedHat workstation and not on your server. Your server is more secure if it doesn't have a compiler and libraries.

Charlie
Title: Re: compatibility of compilers to be installed
Post by: Arjay on April 05, 2003, 01:20:27 AM
actually what i really what to do is to put BitchX and psybnc in my SME 5.6 server... that is why i was so eager to know how to put the compilers coz only BitchX and psybnc where the only ones that were not installed among the programs the i needed the most. so please, please, please, help me.


this is the error that comes out when ill try to do a: make menuconfig   after i unpacked the psybnc:



bash-2.05a$ make menuconfig
Initializing Menu-Configuration

In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h:130,
                 from /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h:11,
                 from /usr/include/bits/socket.h:31,
                 from /usr/include/sys/socket.h:35,
                 from tools/convconf.c:28:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
In file included from /usr/include/sys/socket.h:35,
                 from tools/convconf.c:28:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from tools/convconf.c:35:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
In file included from /usr/include/signal.h:307,
                 from tools/convconf.c:43:
/usr/include/bits/sigcontext.h:28:29: asm/sigcontext.h: No such file or directory
make: *** [menuconfig] Error 1


-----> what is still lacking in my compiler or lib files???? i already installed:
Preparing...                ########################################### [100%]
   1:anaconda-runtime       ########################################### [  4%]
   2:automake               ########################################### [  9%]
   3:cpp                    ########################################### [ 13%]
   4:glibc-devel            ########################################### [ 18%]
   5:gcc                    ########################################### [ 22%]
   6:kernel-source          ########################################### [ 27%]
   7:libattr                ########################################### [ 31%]
   8:libacl                 ########################################### [ 36%]
   9:libacl-devel           ########################################### [ 40%]
  10:libstdc++-devel        ########################################### [ 45%]
  11:gcc-c++                ########################################### [ 50%]
  12:m4                     ########################################### [ 54%]
  13:autoconf               ########################################### [ 59%]
  14:libtool                ########################################### [ 63%]
  15:make                   ########################################### [ 68%]
  16:mkisofs                ########################################### [ 72%]
  17:ncurses-devel          ########################################### [ 77%]
  18:openssl-devel          ########################################### [ 81%]
  19:pam-devel              ########################################### [ 86%]
  20:readline-devel         ########################################### [ 90%]
  21:rpm-python             ########################################### [ 95%]
  22:anaconda               ########################################### [100%]



----------------> i really really appriciate your help!

Arjay
Title: Re: compatibility of compilers to be installed
Post by: Scott Smith on April 05, 2003, 01:29:14 AM
go to http://rpmfind.net and search for bitchx

find the best one for your version of SME (closest Red Hat or i386 version)

download the rpm (not the src.rpm) and go for it

repeat for psybnc
Title: Re: compatibility of compilers to be installed
Post by: Arjay on April 05, 2003, 10:53:08 AM
Scott Smith wrote:
>
> go to http://rpmfind.net and search for bitchx
>
> find the best one for your version of SME (closest Red Hat or
> i386 version)
>
> download the rpm (not the src.rpm) and go for it
>
> repeat for psybnc

------> ok dude i will. tnx! i

im using SME 5.6, what do u prefer for me to use? rpms for rehat 8.0 or 7.3 ???
Title: Re: compatibility of compilers to be installed
Post by: Arjay on April 10, 2003, 02:31:43 PM
ive downloaded all the libraries and compilers that you guys have told me.... but ever time ill give the "make" command, so many errors comes out :-(  i dont know what to do... i cant install from tar.gz packages