RE: Compiling source, was RE: [newbie] Make errors

2000-06-17 Thread Kaplan, Paul

I do have the xpm-devel package installed.  So in theory... I never let data
get in the way of a good theory!
Actually I tried to install LM 7.0 but was never sucessful.  For some reason
after rebooting when DrakX finished, the keyboard and mouse would get frozen
and I could never logon.  I suspect a hardware problem (Gateway Solo P3C
laptop, P120, 40Mb) but it isn't severe enough to break a RH install.
Any idea how to find out where the install is looking for the X_LIBS.  env
doesn't offer any clues? 
Any other ideas?
-P

-Original Message-
From: Necrotica
To: [EMAIL PROTECTED]
Sent: 6/14/00 7:49 PM
Subject: RE: Compiling source, was RE: [newbie] Make errors

Do you have the devel packages installed for both? If so, technically,
it
should work.

Perhaps the solution is to install Mandrake. :P

-Chris


On Wed, 14 Jun 2000, you wrote:
 Thanks,
 As I indicated in another reply, I'll admit to running RH 6.0, not a
 Mandrake distro.  My xpm is 3.4k-1, which is a RH6.1 i386 rpm.
libstdc++ is
 2.95-1_2.10.0-3, the latest contrib rpm for a RH6.1 distro.  Wine
should
 compile for RH60.  Yes?
 Paul
 
   -Original Message-
   From:   Necrotica [mailto:[EMAIL PROTECTED]]
   Sent:   Wednesday, June 14, 2000 4:19 PM
   To: '[EMAIL PROTECTED]'
   Subject:Re: Compiling source, was RE: [newbie]
Make
 errors
 
   First, upgrade your version of libstdc++. Also, I would
 upgrade your
   version of xpm (I just checked and I'm running at
 xpm-3.4k-8mdk). With any
   luck that will help. The main thing is upgrading
libstdc++ -
 thats what is
   causing your compiler to tell you that it cannot compile
an
 executable.
 
   -Chris
 
 
   On Wed, 14 Jun 2000, Kaplan, Paul wrote:
 
N-
You seem quite knowledgeable about the rebuilding
process
 so I will put to
you a question that I asked on one of the redhat lists
and
 has yet to be
answered.

I am trying to re-compile a recent wine release from a
 src.rpm file.  The
./configure script trips when it tries to find the
file
 X11/xpm.h, insisting
that I should install xpm and xpm-devel packages, and
then
 quits.  The
packages xpm-3.4k-1 and xpm-devel-3.4k-1 are both
 installed on my system and
the file /usr/X11R6/inlcude/X11/xpm.h exists.

On someone else's suggestion, I tried to CFLAGS
 ="-I$CFLAGS
/usr/X11R6/include".  Then ./configure returns:

checking whether the C compiler (gcc
/usr/X11R6/include )
 works... no
configure: error: installation or configuration
problem: C
 compiler cannot
create executables

I also tried to CFLAGS ="$CFLAGS
 /usr/X11R6/include"...(without the -I) and
ended up with the same response I initially had.

Any thoughts?
Paul Kaplan
   




Re: Compiling source, was RE: [newbie] Make errors

2000-06-14 Thread laurent . duperval

On 14 Jun, Kaplan, Paul wrote:
 N-
 You seem quite knowledgeable about the rebuilding process so I will put to
 you a question that I asked on one of the redhat lists and has yet to be
 answered.
 
 I am trying to re-compile a recent wine release from a src.rpm file.  The
 ./configure script trips when it tries to find the file X11/xpm.h, insisting
 that I should install xpm and xpm-devel packages, and then quits.  The
 packages xpm-3.4k-1 and xpm-devel-3.4k-1 are both installed on my system and
 the file /usr/X11R6/inlcude/X11/xpm.h exists.
 
 On someone else's suggestion, I tried to CFLAGS ="-I$CFLAGS
 /usr/X11R6/include".  Then ./configure returns:
 
 checking whether the C compiler (gcc /usr/X11R6/include ) works... no
 configure: error: installation or configuration problem: C compiler cannot
 create executables
 
 I also tried to CFLAGS ="$CFLAGS /usr/X11R6/include"...(without the -I) and
 ended up with the same response I initially had.
 
 Any thoughts?
 Paul Kaplan
 

Use -I /usr/X11R6/include/X11. The -I path must contain the full path where
the .h file exists. If the code says:

#include "xpm.h"

You need the path as specified above. If the code says

#include "X11/xpm.h"

/usr/X11R6/include should be enough. If I remember correctly, all X11 stuff
is supposed to be stored in /usr/X386. In that case, it *may* be posibble
for you to link like this:

ln -s /usr/X386/include/X11 /usr/X11R6/include

Maybe.

L

-- 
Laurent Duperval   "Montreal winters are an intelligence test,
U|Force - Java Center and we who are here have failed it."
Phone: (514) 282-8484 ext. 228   -Doug Camilli
mailto:[EMAIL PROTECTED]  Penguin Power!





Re: Compiling source, was RE: [newbie] Make errors

2000-06-14 Thread Necrotica

First, upgrade your version of libstdc++. Also, I would upgrade your
version of xpm (I just checked and I'm running at xpm-3.4k-8mdk). With any
luck that will help. The main thing is upgrading libstdc++ - thats what is
causing your compiler to tell you that it cannot compile an executable.

-Chris


On Wed, 14 Jun 2000, Kaplan, Paul wrote:

 N-
 You seem quite knowledgeable about the rebuilding process so I will put to
 you a question that I asked on one of the redhat lists and has yet to be
 answered.
 
 I am trying to re-compile a recent wine release from a src.rpm file.  The
 ./configure script trips when it tries to find the file X11/xpm.h, insisting
 that I should install xpm and xpm-devel packages, and then quits.  The
 packages xpm-3.4k-1 and xpm-devel-3.4k-1 are both installed on my system and
 the file /usr/X11R6/inlcude/X11/xpm.h exists.
 
 On someone else's suggestion, I tried to CFLAGS ="-I$CFLAGS
 /usr/X11R6/include".  Then ./configure returns:
 
 checking whether the C compiler (gcc /usr/X11R6/include ) works... no
 configure: error: installation or configuration problem: C compiler cannot
 create executables
 
 I also tried to CFLAGS ="$CFLAGS /usr/X11R6/include"...(without the -I) and
 ended up with the same response I initially had.
 
 Any thoughts?
 Paul Kaplan
 




RE: Compiling source, was RE: [newbie] Make errors

2000-06-14 Thread Kaplan, Paul

Thanks,
I tried the longer path definition to no avail.  I'll admit, I'm using
Redhat 6.0, not a Mandrake distro.  There is no /usr/X386 directory.

The wine configure.in file has an entry that is clearly where configure
trips...

dnl *** Check for -lXpm
AC_CHECK_HEADERS(X11/xpm.h)
   [ dnl *** If X11/xpm.h exists...
  AC_CHECK_LIB(Xpm, XpmCreatePixmapFromData,
 [ AC_DEFINE(HAVE_LIBXXPM) X_PRE_LIBS="$X_PRE_LIBS -lXpm"],,
 $X_LIBS -lXext -lXpm -lX11 $X_EXTRA_LIBS
 )
],
and then the text of the error that prints when configure chokes on me.

It seems that $X_LIBS can't be found.  How do I identify what the current
state is?  Env offers no clue.
Paul

-Original Message-
From:   [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent:   Wednesday, June 14, 2000 3:42 PM
To: [EMAIL PROTECTED]
Subject:    Re: Compiling source, was RE: [newbie] Make
errors

Use -I /usr/X11R6/include/X11. The -I path must contain the
full path where
the .h file exists. If the code says:

#include "xpm.h"

You need the path as specified above. If the code says

#include "X11/xpm.h"

/usr/X11R6/include should be enough. If I remember
correctly, all X11 stuff
is supposed to be stored in /usr/X386. In that case, it
*may* be posibble
for you to link like this:

ln -s /usr/X386/include/X11 /usr/X11R6/include

Maybe.

L

-- 
Laurent Duperval   "Montreal winters are an
intelligence test,
U|Force - Java Center and we who are
here have failed it."
Phone: (514) 282-8484 ext. 228
-Doug Camilli
mailto:[EMAIL PROTECTED]  Penguin Power!





RE: Compiling source, was RE: [newbie] Make errors

2000-06-14 Thread David Talbot

Out of curiousity (not a flame please don't take it as one) why are you
posting problems that you're having with a Red Hat distro to a Mandrake
list? Yes, mandrake is based off of RedHat, but it's compiled for Pentium
machines (both causing new problems and alleviating RH problems) and
contains many newer versions of various packages than Red Hat does.  Yes,
from the command line the two distros look almost the same. you get into
admin tools and mandrake is quite a bit different. You may have better luck
getting your various issues solved in a RedHat forum of some kind.

Good luck getting your problem fixed, if I know I'd help ya out.

-David Talbot

At 04:33 PM 6/14/00 -0400, you wrote:
Thanks,
As I indicated in another reply, I'll admit to running RH 6.0, not a
Mandrake distro.  My xpm is 3.4k-1, which is a RH6.1 i386 rpm.  libstdc++ is
2.95-1_2.10.0-3, the latest contrib rpm for a RH6.1 distro.  Wine should
compile for RH60.  Yes?
Paul

   -Original Message-
   From:   Necrotica [mailto:[EMAIL PROTECTED]]
   Sent:   Wednesday, June 14, 2000 4:19 PM
   To: '[EMAIL PROTECTED]'
   Subject:Re: Compiling source, was RE: [newbie] Make
errors

   First, upgrade your version of libstdc++. Also, I would
upgrade your
   version of xpm (I just checked and I'm running at
xpm-3.4k-8mdk). With any
   luck that will help. The main thing is upgrading libstdc++ -
thats what is
   causing your compiler to tell you that it cannot compile an
executable.

   -Chris


   On Wed, 14 Jun 2000, Kaplan, Paul wrote:

N-
You seem quite knowledgeable about the rebuilding process
so I will put to
you a question that I asked on one of the redhat lists and
has yet to be
answered.

I am trying to re-compile a recent wine release from a
src.rpm file.  The
./configure script trips when it tries to find the file
X11/xpm.h, insisting
that I should install xpm and xpm-devel packages, and then
quits.  The
packages xpm-3.4k-1 and xpm-devel-3.4k-1 are both
installed on my system and
the file /usr/X11R6/inlcude/X11/xpm.h exists.

On someone else's suggestion, I tried to CFLAGS
="-I$CFLAGS
/usr/X11R6/include".  Then ./configure returns:

checking whether the C compiler (gcc /usr/X11R6/include )
works... no
configure: error: installation or configuration problem: C
compiler cannot
create executables

I also tried to CFLAGS ="$CFLAGS
/usr/X11R6/include"...(without the -I) and
ended up with the same response I initially had.

Any thoughts?
Paul Kaplan






Re: Compiling source, was RE: [newbie] Make errors

2000-06-14 Thread flupke

Did you compile it yourself or did you try "rpm --rebuild pack.src.rpm"?

Maybe there is a BAD solution you could try :
make a symlink from /usr/include/xpm.h to /usr/X11R6/include/X11/xpm.h.
This is not nice, but there are chances that it works. But hopefully,
someone will have a better solution.

If you don't get any other answer here, you could also try the expert
mandrake mailing list.

HTH
Flupke

On Wed, 14 Jun 2000, Kaplan, Paul wrote:

 N-
 You seem quite knowledgeable about the rebuilding process so I will put to
 you a question that I asked on one of the redhat lists and has yet to be
 answered.
 
 I am trying to re-compile a recent wine release from a src.rpm file.  The
 ./configure script trips when it tries to find the file X11/xpm.h, insisting
 that I should install xpm and xpm-devel packages, and then quits.  The
 packages xpm-3.4k-1 and xpm-devel-3.4k-1 are both installed on my system and
 the file /usr/X11R6/inlcude/X11/xpm.h exists.
 
 On someone else's suggestion, I tried to CFLAGS ="-I$CFLAGS
 /usr/X11R6/include".  Then ./configure returns:
 
 checking whether the C compiler (gcc /usr/X11R6/include ) works... no
 configure: error: installation or configuration problem: C compiler cannot
 create executables
 
 I also tried to CFLAGS ="$CFLAGS /usr/X11R6/include"...(without the -I) and
 ended up with the same response I initially had.
 
 Any thoughts?
 Paul Kaplan
 
 
 

-- 
 There's no place like ~ ! 




RE: Compiling source, was RE: [newbie] Make errors

2000-06-14 Thread Necrotica

Do you have the devel packages installed for both? If so, technically, it
should work.

Perhaps the solution is to install Mandrake. :P

-Chris


On Wed, 14 Jun 2000, you wrote:
 Thanks,
 As I indicated in another reply, I'll admit to running RH 6.0, not a
 Mandrake distro.  My xpm is 3.4k-1, which is a RH6.1 i386 rpm.  libstdc++ is
 2.95-1_2.10.0-3, the latest contrib rpm for a RH6.1 distro.  Wine should
 compile for RH60.  Yes?
 Paul
 
   -Original Message-
   From:   Necrotica [mailto:[EMAIL PROTECTED]]
   Sent:   Wednesday, June 14, 2000 4:19 PM
   To: '[EMAIL PROTECTED]'
   Subject:Re: Compiling source, was RE: [newbie] Make
 errors
 
   First, upgrade your version of libstdc++. Also, I would
 upgrade your
   version of xpm (I just checked and I'm running at
 xpm-3.4k-8mdk). With any
   luck that will help. The main thing is upgrading libstdc++ -
 thats what is
   causing your compiler to tell you that it cannot compile an
 executable.
 
   -Chris
 
 
   On Wed, 14 Jun 2000, Kaplan, Paul wrote:
 
N-
You seem quite knowledgeable about the rebuilding process
 so I will put to
you a question that I asked on one of the redhat lists and
 has yet to be
answered.

I am trying to re-compile a recent wine release from a
 src.rpm file.  The
./configure script trips when it tries to find the file
 X11/xpm.h, insisting
that I should install xpm and xpm-devel packages, and then
 quits.  The
packages xpm-3.4k-1 and xpm-devel-3.4k-1 are both
 installed on my system and
the file /usr/X11R6/inlcude/X11/xpm.h exists.

On someone else's suggestion, I tried to CFLAGS
 ="-I$CFLAGS
/usr/X11R6/include".  Then ./configure returns:

checking whether the C compiler (gcc /usr/X11R6/include )
 works... no
configure: error: installation or configuration problem: C
 compiler cannot
create executables

I also tried to CFLAGS ="$CFLAGS
 /usr/X11R6/include"...(without the -I) and
ended up with the same response I initially had.

Any thoughts?
Paul Kaplan