[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-solaris
Subject:    Re: [kde-solaris] during ./configure of kdebase error
From:       Vladimir Annenkov <annenkov () ms ! uky ! edu>
Date:       2001-10-12 16:58:38
[Download RAW message or body]

cd into /usr/openwin/lib/config.  This is where some of the host-specific 
definitions live -- they are needed my xmkmf to correctly build makefiles for 
your system.  If you don't already have the file "host.def", create one.  
Make sure it contains the following lines :
#define HasGcc2		YES
#define HasGcc		YES
#define HasGcc2ForCplusplus	YES
#define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
			-Wmissing-prototypes -Wmissing-declarations \
			-Wredundant-decls -Wnested-externs

Now, edit the file "site.def" and uncomment the section that contains the line
#define LocalConfigFiles host.def
Uncomment all sections that define HasGcc2 and HasCplusplus.
Uncomment the line (modify for your system)
#define PreIncDir /usr/local/lib/gcc-lib/(your machine type 
here)/2.98.3/include

Edit the file "svr4.cf".  Find the sections that defines which bintools to 
use.  Here's what mine looks like:
#define ArCmdBase	/usr/local/bin/ar
#define AsCmd	/usr/local/bin/as
#define CppCmd	/usr/local/bin/cpp
#define LdCmd	/usr/ccs/bin/ld
#define LexCmd	/usr/local/bin/lex
#define MakeCmd	/usr/local/bin/make  /* point to GNU make */
#define YaccCmd	/usr/ccs/bin/yacc

That should be sufficient.  Now, go back to your source, remove config.cache, 
re-run configure and make.


On Friday 12 October 2001 06:48 am, Andy Wu wrote:
> Anywya around this if imake is using sun's C compiler ?
>
> Andy
>
> On Fri, 12 Oct 2001, James Tappin wrote:
> > On Friday 12 October 2001 11:35, Andy Wu wrote:
> > > Oliver,
> > >
> > > 	I already have /usr/openwin/bin in my path i don't know what else
> > > is causing this problem
> > >
> > > Andy
> > >
> > > On Fri, 12 Oct 2001, Palliere, Olivier wrote:
> > > > Hola Andy,
> > > >
> > > > I think you should add this to your path:
> > > >
> > > > /usr/openwin/bin
> > > >
> > > > Thats where xmkmf and imake are, and this path is not set by default.
> > > >
> > > > HTH,
> > > >
> > > > Olivier./.
> > > >
> > > > -----Original Message-----
> > > > From: Andy Wu [mailto:scuzy@got-rice.com]
> > > > Sent: 12 October 2001 11:5
> > > > To: kde-solaris@mail.kde.org
> > > > Subject: [kde-solaris] during ./configure of kdebase error
> > > >
> > > >
> > > > anyone know what this error might be
> > > >
> > > >
> > > > checking nogroup... nogroup
> > > > checking for xmkmf... /usr/openwin/bin/xmkmf
> > > > checking various X settings... configure: error:  (imake) failed
> > > >
> > > >
> > > > Thanks Andy
> >
> > I'm not sure if it's relevant or not but imake may very well be trying to
> > use a different C compiler from the rest of the configuration. I've never
> > been able to make any package that uses imake use gcc -- it insists on
> > using Sun's cc compiler. Possibly if you have managed to force it, it's
> > still using cc options.
> >
> > James
> >
> > --
> > +------------------------+-------------------------------+---------+
> >
> > | James Tappin           | School of Physics & Astronomy |  O__    |
> > | sjt@star.sr.bham.ac.uk | University of Birmingham      | --  \/` |
> > | Ph: 0121-414-6462. Fax: 0121-414-3722                  |         |
> >
> > +--------------------------------------------------------+---------+
> > ___________________________________________________
> > This message is from the kde-solaris mailing list.
> > Account management:  http://mail.kde.org/mailman/listinfo/kde-solaris.
> > Archives: http://lists.kde.org/.
> > More info: http://www.kde.org/faq.html.
>
> ___________________________________________________
> This message is from the kde-solaris mailing list.
> Account management:  http://mail.kde.org/mailman/listinfo/kde-solaris.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
> .
___________________________________________________
This message is from the kde-solaris mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic