I have been trying to compile programs from source code, but I can never get them to compile correctly. Does anyone know what packages I need to install in order to compile programs? Or should I just use Yast and select development programs? ------------------ John Kerr Anderson jaanders@tm.net SuSe GmBH 6.4 ------------------ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
John, I think you can find help here, but we need more specifics. What language are you using? What kind of errors are you getting? Have you compiled programs before, or are you a novice? Jim John wrote:
I have been trying to compile programs from source code, but I can never get them to compile correctly.
Does anyone know what packages I need to install in order to compile programs? Or should I just use Yast and select development programs?
------------------ John Kerr Anderson jaanders@tm.net SuSe GmBH 6.4 ------------------
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Jim Sabatke SuSE 6.3 Linux Kernel - 2.2.13 "Television is a powerful medium; I don't feel comfortable questioning it." The bartender on "Dinosaurs." -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
All I'm trying to do is compile a few simple programs such as the game pente and the up to date version of lynx. When I try to compile pente the message: "parse error before *" appears. When I do the same for lynx: " make * * * [all] error 2. I have compiled a few programs before running Redhat Linux and most recently, Debian. Usually I found it fairly easy. I have added in such programs as bison, flex, autoconf, automake, gettext.. On Sat, 3 Jun 2000, Jim Sabatke wrote:
John,
I think you can find help here, but we need more specifics. What language are you using? What kind of errors are you getting? Have you compiled programs before, or are you a novice?
Jim
John wrote:
I have been trying to compile programs from source code, but I can never get them to compile correctly.
Does anyone know what packages I need to install in order to compile programs? Or should I just use Yast and select development programs?
------------------ John Kerr Anderson jaanders@tm.net SuSe GmBH 6.4 ------------------
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Jim Sabatke SuSE 6.3 Linux Kernel - 2.2.13
"Television is a powerful medium; I don't feel comfortable questioning it." The bartender on "Dinosaurs."
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
John, Still not much to go on. Are you running "configure?" Sometimes parse errors happen when files have MS-DOS cr/lf's. What is the compile doing when you get the parse error? You might want to send me a dump of the whole process off-line and maybe I can help. Jim John wrote:
All I'm trying to do is compile a few simple programs such as the game pente and the up to date version of lynx. When I try to compile pente the message: "parse error before *" appears. When I do the same for lynx: " make * * * [all] error 2. I have compiled a few programs before running Redhat Linux and most recently, Debian. Usually I found it fairly easy.
I have added in such programs as bison, flex, autoconf, automake, gettext..
On Sat, 3 Jun 2000, Jim Sabatke wrote:
John,
I think you can find help here, but we need more specifics. What language are you using? What kind of errors are you getting? Have you compiled programs before, or are you a novice?
Jim
John wrote:
I have been trying to compile programs from source code, but I can never get them to compile correctly.
Does anyone know what packages I need to install in order to compile programs? Or should I just use Yast and select development programs?
------------------ John Kerr Anderson jaanders@tm.net SuSe GmBH 6.4 ------------------
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Jim Sabatke SuSE 6.3 Linux Kernel - 2.2.13
"Television is a powerful medium; I don't feel comfortable questioning it." The bartender on "Dinosaurs."
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Jim Sabatke SuSE 6.3 Linux Kernel - 2.2.13 "Television is a powerful medium; I don't feel comfortable questioning it." The bartender on "Dinosaurs." -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Here is the output when I am trying to compile the programs. On Mon, 5 Jun 2000, Jim Sabatke wrote:
John,
Still not much to go on. Are you running "configure?"
yes I am using configure.
Sometimes parse errors happen when files have MS-DOS cr/lf's. What is the compile doing when you get the parse error?
You might want to send me a dump of the whole process off-line and maybe I can help.
Jim
<HR> <UL> <LI>TEXT/PLAIN attachment: lynx.txt </UL> <HR> <UL> <LI>TEXT/PLAIN attachment: pente.txt </UL> N§²æìržzǧué[h²ë)îÅ맲æìržzˬyÊ&ÚuØÚÊ&©Ý²Ç§ué[h²ë)îÅè^.±ç([(rØ^¶m§ÿðÃ.±ç(ô®Š+·ðèïÅ
Me too: I tried compiling lynx2.8.3rel.1.tar.bz2, and got exactly the same error (well on a different file). -- Stephen Montgomery-Smith Department of Mathematics, University of Missouri, Columbia, MO 65211 Phone 573-882-4540, fax 573-882-1869 http://www.math.missouri.edu/~stephen stephen@math.missouri.edu -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
* Stephen Montgomery-Smith (stephen@math.missouri.edu) [20000606 04:33]:
Me too: I tried compiling lynx2.8.3rel.1.tar.bz2, and got exactly the same error (well on a different file).
Got an URL for that? I might have some time to look into it.
Philipp
--
Philipp Thomas
Philipp Thomas wrote:
* Stephen Montgomery-Smith (stephen@math.missouri.edu) [20000606 04:33]:
Me too: I tried compiling lynx2.8.3rel.1.tar.bz2, and got exactly the same error (well on a different file).
Got an URL for that? I might have some time to look into it.
http://lynx.isc.org/current/lynx2.8.3rel.1.tar.bz2 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I wrote to John off-line, but I think the problem may be that there are MS-DOS cr/lf characters in the code. This normally doesn't cause a problem, but #defines that span multiple lines can't handle it. I've asked John to take a look at a hex dump to see if the files contain 0d 0a at the end of lines. If so, they need to be converted to just 0a. Jim Stephen wrote:
Me too: I tried compiling lynx2.8.3rel.1.tar.bz2, and got exactly the same error (well on a different file).
-- Stephen Montgomery-Smith Department of Mathematics, University of Missouri, Columbia, MO 65211 Phone 573-882-4540, fax 573-882-1869 http://www.math.missouri.edu/~stephen stephen@math.missouri.edu
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Jim Sabatke SuSE 6.3 Linux Kernel - 2.2.13 "Television is a powerful medium; I don't feel comfortable questioning it." The bartender on "Dinosaurs." -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I found that this change fixed the problem (at least for lynx): In the file /usr/include/sys/ucontext.h at around the 45th line (that is, just before the lines that say enum { GS = 0, # define GS GS FS, # define FS FS ES, # define ES ES DS, add the line #undef ERR Stephen -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
After adding more programs under the "development" section in YasT I finally got both Lynx and pente to work. Thanks for the help. ------------------------ John Kerr Anderson jkanders@alpha.delta.edu SuSE Gmbh 6.4 ------------------------ On Tue, 6 Jun 2000, Jim Sabatke wrote:
I wrote to John off-line, but I think the problem may be that there are MS-DOS cr/lf characters in the code. This normally doesn't cause a problem, but #defines that span multiple lines can't handle it. I've asked John to take a look at a hex dump to see if the files contain 0d 0a at the end of lines. If so, they need to be converted to just 0a.
Jim
Stephen wrote:
Me too: I tried compiling lynx2.8.3rel.1.tar.bz2, and got exactly the same error (well on a different file).
-- Stephen Montgomery-Smith Department of Mathematics, University of Missouri, Columbia, MO 65211 Phone 573-882-4540, fax 573-882-1869 http://www.math.missouri.edu/~stephen stephen@math.missouri.edu
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Jim Sabatke SuSE 6.3 Linux Kernel - 2.2.13
"Television is a powerful medium; I don't feel comfortable questioning it." The bartender on "Dinosaurs."
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I have found it best just install everything in the development section of packages on the suse cd (using yast) and any other libraries or include rpms that are on the cd's On Sat, 03 Jun 2000, John Anderson wrote:
I have been trying to compile programs from source code, but I can never get them to compile correctly.
Does anyone know what packages I need to install in order to compile programs? Or should I just use Yast and select development programs?
------------------ John Kerr Anderson jaanders@tm.net SuSe GmBH 6.4 ------------------
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Chad Whitten cwhitten@intop.net http://whitten.dhs.org -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
* Chad Whitten (cwhitten@intop.net) [20000604 05:47]:
I have found it best just install everything in the development section of packages on the suse cd (using yast) and any other libraries or include rpms that are on the cd's.
Yeah, when you hold a srewdriver by the blade, every screw becomes a nail
;-)
Of cause you can do that and install all that's in devel, but it's way
overkill. Usually, you need a compiler for the language the program was
written in. C and C++ should suffice for most (including the necessary
libraries). From the devel tools, you'll mostly need bison and flex (and
gettext if you want to use message catalogs). The C compiler, binutils and
make are allready installed.
I'd install the rest on an as needed basis. But if I didn't have at least a
bit of a clue about development and the needed tools, I'd stay away from
trying to compile packages on my own.
Philipp
--
Philipp Thomas
Philipp-
Thanks for the post.....I was just getting into the reply mode
when I saw yours. Installing everything in devel is not good advice
for learning what Linux is about.
Best Regards
/Dee
Philipp Thomas
* Chad Whitten (cwhitten@intop.net) [20000604 05:47]:
I have found it best just install everything in the development section of packages on the suse cd (using yast) and any other libraries or include rpms that are on the cd's.
Yeah, when you hold a srewdriver by the blade, every screw becomes a nail ;-) Of cause you can do that and install all that's in devel, but it's way overkill. Usually, you need a compiler for the language the program was written in. C and C++ should suffice for most (including the necessary libraries). From the devel tools, you'll mostly need bison and flex (and gettext if you want to use message catalogs). The C compiler, binutils and make are allready installed.
I'd install the rest on an as needed basis. But if I didn't have at least a bit of a clue about development and the needed tools, I'd stay away from trying to compile packages on my own.
Philipp
-- Philipp Thomas
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany so check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (6)
-
cwhitten@intop.net
-
deem@wdm.com
-
jkanders@alpha.delta.edu
-
jsabatke@execpc.com
-
pthomas@suse.de
-
stephen@math.missouri.edu