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
   




[newbie] Make errors

2000-06-14 Thread Fred Hamilton

Well, with the help of everyone that responded to my cry for help, I am now 
able to use tar. Now... HELP again. I am receiving these errors when using 
make.

make[4] *** [install-data-local] Error 255
make[3] *** [install-am] Error 2
make[2] *** [install-recursive] Error 1
make[1] *** [install-recursive] Error 1
make: [install-recursive] Error 1

What do these compile errors mean and what do I do to fix them? I tried 
this using two different archived files and I received the same error both 
times, so I am assuming it is not a programming error, but I am missing 
something in my Linux configuration? I reinstalled the make rpm package and 
tried again but no luck. Any help would be appreciated

Thanks to all who have helped so far..

Fred




Re: [newbie] Make errors

2000-06-14 Thread Necrotica

This is a tricky question to answer, because it partially depends on what
you're trying to compile.

Most software cource that you download comes with a script called
configure that checks your system, makes sure you have all the
pre-requisites installed, etc. and creates special directive files to tell
the compiler how to compile the software on your machine. Does this
software have a scipt called configure in it, and did you run it by
typing: ./configure first?

There is something important that you should know before your continue
trying to compile whatever it is that you're trying to compile. Mandrake
is an RPM-based distribution. RPM stands for Redhat Packager Manager. Its
a system where you can download a .RPM file and easily install it by
selecting it from a utility like Kpackage within DrakConf. The nice thing
about it is that you can easily uninstall RPMs if you need to, whereas if
you compile straight source code it can sometimes be a big pain in the
rear to uninstall because files can easily get thrown all over the place
and they can be impossible to track down.

I like compiling my own software too, so I generally download SRPMs, which
are special RPMS that contain the source code. You can compile them by
typing rpm --rebuild --target i586 name.rpm. If there are dependencies
needed, it tells you. Once its built you can install the RPM as you
normally would.

If you are new to Linux, and it sounds like you are, I would strongly
suggest to either download a binary RPM of the software you are trying to
compiler, or downloaded the SRPM and compile it using the above
command. Trust me, it will make your life much easier and m ake it much
easier for you to maintain your system. If the software that you are
trying to compile does not come in RPM format, check
rpmfind.net/linux/mandrake/cooker/ and look in the cooker and contrib
directories to see if someone elese made an RPM for it already. The only
thing that I use that is not in RPM format is WIN, so chances are until
you become more familiar with the Linux environment you should be able to
find everything you need in RPM format.

My humble opinion.

-Chris


On Wed, 14 Jun 2000, Fred Hamilton wrote:

 Well, with the help of everyone that responded to my cry for help, I am now 
 able to use tar. Now... HELP again. I am receiving these errors when using 
 make.
 
 make[4] *** [install-data-local] Error 255
 make[3] *** [install-am] Error 2
 make[2] *** [install-recursive] Error 1
 make[1] *** [install-recursive] Error 1
 make: [install-recursive] Error 1
 
 What do these compile errors mean and what do I do to fix them? I tried 
 this using two different archived files and I received the same error both 
 times, so I am assuming it is not a programming error, but I am missing 
 something in my Linux configuration? I reinstalled the make rpm package and 
 tried again but no luck. Any help would be appreciated
 
 Thanks to all who have helped so far..
 
 Fred
 




Re: [newbie] Make errors

2000-06-14 Thread Mark Weaver

Fred Hamilton wrote:
 
 Well, with the help of everyone that responded to my cry for help, I am now
 able to use tar. Now... HELP again. I am receiving these errors when using
 make.
 
 make[4] *** [install-data-local] Error 255
 make[3] *** [install-am] Error 2
 make[2] *** [install-recursive] Error 1
 make[1] *** [install-recursive] Error 1
 make: [install-recursive] Error 1
 
 What do these compile errors mean and what do I do to fix them? I tried
 this using two different archived files and I received the same error both
 times, so I am assuming it is not a programming error, but I am missing
 something in my Linux configuration? I reinstalled the make rpm package and
 tried again but no luck. Any help would be appreciated
 
 Thanks to all who have helped so far..
 
 Fred

It's not the RPM package that's experiencing a problem. Rather it's
likely that you're missing a library or some other resource that the
system is looking for to complete the task that you've assigned it.
-- 
Mark

I love my Linux box...
 My Linux Box ROCKS!




Compiling source, was RE: [newbie] Make errors

2000-06-14 Thread Kaplan, Paul

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: [newbie] Make errors

2000-06-14 Thread Tom Brinkman

On Wed, 14 Jun 2000, you wrote:
 Well, with the help of everyone that responded to my cry for help, I am now 
 able to use tar. Now... HELP again. I am receiving these errors when using 
 make.
 
 make[4] *** [install-data-local] Error 255
 make[3] *** [install-am] Error 2
 make[2] *** [install-recursive] Error 1
 make[1] *** [install-recursive] Error 1
 make: [install-recursive] Error 1

   you need to be root, type 'su' and enter root's password

   then do 'make install'

 
 What do these compile errors mean and what do I do to fix them? I tried 
 this using two different archived files and I received the same error both 
 times, so I am assuming it is not a programming error, but I am missing 
 something in my Linux configuration? I reinstalled the make rpm package and 
 tried again but no luck. Any help would be appreciated
 
 Thanks to all who have helped so far..
 
 Fred
-- 
~~   Tom Brinkman[EMAIL PROTECTED]




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