Pages: [1] 2
|
|
|
Author
|
Topic: Installing from Source on Pardus linux (Read 4524 times)
|
laissezfaire
Zebranky food
Offline
Posts: 7
|
Pardus Linux uses its own "pisi" packaging system and I wasn't able to find such a package to install uqm. I have libsdl 1.2.11 and sdl_image 1.2.5 already installed.
After running the ./build.sh uqm command I get the following error after a long list of printed lines:
In file included from src/config.h:17, from src/port.h:4, from src/options.h:25, from src/options.c:22: ./config_unix.h:32: error: stray '@' in program ./config_unix.h:32: error: stray '@' in program ./config_unix.h:41: error: stray '@' in program ./config_unix.h:41: error: syntax error before "HAVE_STRICMP" ./config_unix.h:41: error: stray '@' in program ./config_unix.h:47: error: stray '@' in program ./config_unix.h:47: error: stray '@' in program ./config_unix.h:53: error: stray '@' in program In file included from /usr/include/bits/types.h:31, from /usr/include/unistd.h:186, from src/port.h:45, from src/options.h:25, from src/options.c:22: ./config_unix.h:53: error: stray '@' in program /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/stddef.h:213: error: syntax error before "typedef" make: *** [obj/debug/src/options.c.o] Hata 1
Any ideas?
|
|
|
Logged
|
|
|
|
|
laissezfaire
Zebranky food
Offline
Posts: 7
|
Here is the beginning and the ending parts of the output :-)
Configuration complete. Saving choices... Building file dependency index... MKDEP obj/debug/src/getopt/getopt1.c.d MKDEP obj/debug/src/getopt/getopt.c.d MKDEP obj/debug/src/sc2code/netplay/proto/reset.c.d MKDEP obj/debug/src/sc2code/netplay/proto/ready.c.d MKDEP obj/debug/src/sc2code/netplay/proto/npconfirm.c.d MKDEP obj/debug/src/sc2code/netplay/packetq.c.d MKDEP obj/debug/src/sc2code/netplay/packetsenders.c.d MKDEP obj/debug/src/sc2code/netplay/packethandlers.c.d MKDEP obj/debug/src/sc2code/netplay/packet.c.d MKDEP obj/debug/src/sc2code/netplay/notify.c.d MKDEP obj/debug/src/sc2code/netplay/netstate.c.d MKDEP obj/debug/src/sc2code/netplay/netsend.c.d MKDEP obj/debug/src/sc2code/netplay/netrcv.c.d MKDEP obj/debug/src/sc2code/netplay/netoptions.c.d MKDEP obj/debug/src/sc2code/netplay/netmisc.c.d MKDEP obj/debug/src/sc2code/netplay/netmelee.c.d MKDEP obj/debug/src/sc2code/netplay/netinput.c.d MKDEP obj/debug/src/sc2code/netplay/netconnection.c.d MKDEP obj/debug/src/sc2code/netplay/crc.c.d MKDEP obj/debug/src/sc2code/netplay/checksum.c.d MKDEP obj/debug/src/sc2code/netplay/checkbuf.c.d MKDEP obj/debug/src/sc2code/ships/zoqfot/zoqfot.c.d MKDEP obj/debug/src/sc2code/ships/yehat/yehat.c.d MKDEP obj/debug/src/sc2code/ships/vux/vux.c.d MKDEP obj/debug/src/sc2code/ships/utwig/utwig.c.d MKDEP obj/debug/src/sc2code/ships/urquan/urquan.c.d MKDEP obj/debug/src/sc2code/ships/umgah/umgah.c.d MKDEP obj/debug/src/sc2code/ships/thradd/thradd.c.d MKDEP obj/debug/src/sc2code/ships/syreen/syreen.c.d MKDEP obj/debug/src/sc2code/ships/supox/supox.c.d MKDEP obj/debug/src/sc2code/ships/spathi/spathi.c.d MKDEP obj/debug/src/sc2code/ships/slylandr/slylandr.c.d MKDEP obj/debug/src/sc2code/ships/sis_ship/sis_ship.c.d MKDEP obj/debug/src/sc2code/ships/shofixti/shofixti.c.d MKDEP obj/debug/src/sc2code/ships/probe/probe.c.d MKDEP obj/debug/src/sc2code/ships/pkunk/pkunk.c.d MKDEP obj/debug/src/sc2code/ships/orz/orz.c.d MKDEP obj/debug/src/sc2code/ships/mycon/mycon.c.d MKDEP obj/debug/src/sc2code/ships/mmrnmhrm/mmrnmhrm.c.d MKDEP obj/debug/src/sc2code/ships/melnorme/melnorme.c.d MKDEP obj/debug/src/sc2code/ships/lastbat/lastbat.c.d MKDEP obj/debug/src/sc2code/ships/ilwrath/ilwrath.c.d MKDEP obj/debug/src/sc2code/ships/human/human.c.d MKDEP obj/debug/src/sc2code/ships/druuge/druuge.c.d MKDEP obj/debug/src/sc2code/ships/chmmr/chmmr.c.d MKDEP obj/debug/src/sc2code/ships/chenjesu/chenjesu.c.d MKDEP obj/debug/src/sc2code/ships/blackurq/blackurq.c.d MKDEP obj/debug/src/sc2code/ships/arilou/arilou.c.d MKDEP obj/debug/src/sc2code/ships/androsyn/androsyn.c.d MKDEP obj/debug/src/sc2code/planets/surface.c.d MKDEP obj/debug/src/sc2code/planets/solarsys.c.d MKDEP obj/debug/src/sc2code/planets/scan.c.d MKDEP obj/debug/src/sc2code/planets/roster.c.d . . . MKDEP obj/debug/src/sc2code/border.c.d MKDEP obj/debug/src/sc2code/battle.c.d MKDEP obj/debug/src/starcon2.c.d MKDEP obj/debug/src/port.c.d MKDEP obj/debug/src/options.c.d CC obj/debug/src/options.c.o In file included from src/config.h:17, from src/port.h:4, from src/options.h:25, from src/options.c:22: ./config_unix.h:32: error: stray '@' in program ./config_unix.h:32: error: stray '@' in program ./config_unix.h:41: error: stray '@' in program ./config_unix.h:41: error: syntax error before "HAVE_STRICMP" ./config_unix.h:41: error: stray '@' in program ./config_unix.h:47: error: stray '@' in program ./config_unix.h:47: error: stray '@' in program ./config_unix.h:53: error: stray '@' in program In file included from /usr/include/bits/types.h:31, from /usr/include/unistd.h:186, from src/port.h:45, from src/options.h:25, from src/options.c:22: ./config_unix.h:53: error: stray '@' in program /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/stddef.h:213: error: syntax error before "typedef" make: *** [obj/debug/src/options.c.o] Hata 1
|
|
|
Logged
|
|
|
|
|
meep-eep
Forum Admin
Enlightened
Offline
Posts: 2847
|
Do you have 'sed' in your path?
Edit: Ok, you probably have, but it might not be a version of SED that takes patterns without '-e'. In line 916 of build/unix/config_functions, could you try replacing VALUE=$(echo "$VALUE" | $SED 's,\([\&/]\),\\\1,g') by VALUE=$(echo "$VALUE" | $SED -e 's,\([\&/]\),\\\1,g')
|
|
« Last Edit: January 12, 2007, 06:46:07 pm by meep-eep »
|
Logged
|
“When Juffo-Wup is complete when at last there is no Void, no Non when the Creators return then we can finally rest.”
|
|
|
|
|
laissezfaire
Zebranky food
Offline
Posts: 7
|
Sorry, what I meant to say was how do I check if SED is in my path? (Or how do I check if some folder is in the system paths for that matter?)
Anyway, after replacing VALUE=$(echo "$VALUE" | $SED 's,\([\&/]\),\\\1,g') by VALUE=$(echo "$VALUE" | $SED -e 's,\([\&/]\),\\\1,g')
and running: sh build.sh uqm config
I get: Configuration complete. Saving choices...
However, when I run ./build.sh uqm install afterward I still get the same errors: CC obj/release/src/options.c.o In file included from src/config.h:17, from src/port.h:4, from src/options.h:25, from src/options.c:22: ./config_unix.h:32: error: stray '@' in program ./config_unix.h:32: error: stray '@' in program ./config_unix.h:41: error: stray '@' in program ./config_unix.h:41: error: syntax error before "HAVE_STRICMP" ./config_unix.h:41: error: stray '@' in program ./config_unix.h:47: error: stray '@' in program ./config_unix.h:47: error: stray '@' in program ./config_unix.h:53: error: stray '@' in program In file included from /usr/include/bits/types.h:31, from /usr/include/unistd.h:186, from src/port.h:45, from src/options.h:25, from src/options.c:22: ./config_unix.h:53: error: stray '@' in program /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/stddef.h:213: error: syntax error before "typedef" make: *** [obj/release/src/options.c.o] Hata 1
|
|
|
Logged
|
|
|
|
|
laissezfaire
Zebranky food
Offline
Posts: 7
|
Yes I am trying to install the latest version 1.6.1, which I downloaded yesterday.
I ran the command and I will send it to your email. I hope this can be fixed easily and you could let me know. I really look forward to running this great classic again after many years :-) Cheers...
|
|
|
Logged
|
|
|
|
|
|
|
|
laissezfaire
Zebranky food
Offline
Posts: 7
|
Thanks so much. This is great!! Does this mean I need to download the source file again and extract and run it again? (What do I do now?)
Edit: Thanks for the fix.
Well, I am not sure if this is the procedure but I copied the new file at http://sc2.svn.sourceforge.net/viewvc/sc2/trunk/sc2/build/unix/config_functions and wrote it over the one that exists in my harddisk. Then I rerun the "sh build.sh uqm config" command.
Unfortunately, it still gives errors. This time I cannot even get the settings menu. I get:
build/unix/config_functions: line 5: !DOCTYPE: Böyle bir dosya ya da dizin yok (<-- well this translates as "this file or folder cannot be found") build/unix/config_functions: line 6: syntax error near unexpected token `newline' build/unix/config_functions: line 6: `"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">' build/unix/build_functions: line 49: set_system: command not found build/unix/build_functions: line 50: prepare_build_system: command not found build/unix/build_functions: line 51: config_requirements: command not found build/unix/build_functions: line 52: prepare_host_system: command not found build/unix/build.config: line 12: have_build_tools_language: command not found
I hope this is something relatively easy to fix. Sorry for all the trouble.
|
|
« Last Edit: January 13, 2007, 05:02:44 am by laissezfaire »
|
Logged
|
|
|
|
Pages: [1] 2
|
|
|
|
|