View Issue Details

IDProjectCategoryView StatusLast Update
0001474unrealinstallingpublic2004-01-07 03:23
Reporterace Assigned Tocodemastr 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSRedHatOS Version8.0/8.1
Product Version3.2-beta19 
Summary0001474: Another compile problem.
Description../include/struct.h:1103: parse error before `regex_t'
../include/struct.h:1103: warning: no semicolon at end of struct or union
../include/struct.h:1179: parse error before `regex_t'
../include/struct.h:1179: warning: no semicolon at end of struct or union
In file included from m_svswatch.c:40:
../include/badwords.h:8:48: ../extras/regexp/include/tre/regex.h: No such file or directory
In file included from m_svssilence.c:21:
../include/struct.h:64:48: ../extras/regexp/include/tre/regex.h: No such file or directory
In file included from m_svssilence.c:21:
../include/struct.h:1103: parse error before `regex_t'
../include/struct.h:1103: warning: no semicolon at end of struct or union
../include/struct.h:1179: parse error before `regex_t'
../include/struct.h:1179: warning: no semicolon at end of struct or union
In file included from m_svssilence.c:40:
../include/badwords.h:8:48: ../extras/regexp/include/tre/regex.h: No such file or directory
make[2]: *** [commands.so] Error 1
make[2]: Leaving directory `/home/ace/Unreal3.2/src/modules'
make[1]: *** [mods] Error 2
make[1]: Leaving directory `/home/ace/Unreal3.2/src'
make: *** [build] Error 2
[
TagsNo tags attached.
3rd party modules

Activities

syzop

2004-01-06 00:26

administrator   ~0004534

Interresting. I testcompiled on a redhat 9.0 shell and it went fine (release id .2033, execute 'head Changes' if you don't know).

Anyway, it seems like something went wrong when extracting TRE. You get:
../extras/regexp/include/tre/regex.h: No such file or directory
(relative from src/ directory)

Those files exist and are fine at me:
syzop@~/tmp/dexis/Unreal3.2-cvs$ ls -al extras/regexp
total 20
drwxr-xr-x 5 syzop syzop 4096 Jan 5 19:23 .
drwxr-xr-x 6 syzop syzop 4096 Jan 5 19:23 ..
drwxr-xr-x 3 syzop syzop 4096 Jan 5 19:23 include
drwxr-xr-x 3 syzop syzop 4096 Jan 5 19:23 lib
drwxr-xr-x 3 syzop syzop 4096 Jan 5 19:23 share
syzop@~/tmp/dexis/Unreal3.2-cvs$ ls -al extras/regexp/include/tre/regex.h
-rw-r--r-- 1 syzop syzop 6285 Jan 5 19:23 extras/regexp/include/tre/regex.h

Anyway, codemastr does the TRE job so he'll prolly ask additional questions ;).

codemastr

2004-01-06 00:50

reporter   ~0004539

Someone forgot to rerun ./Config! Try:
./Config -q
then run make and it should work. The Makefile needs to be regenerated.

ace

2004-01-06 02:45

reporter   ~0004543

That someone did run ./Config :P but he will run it again :) I just did make clean I suppose I should try doing a clean install..Thanks for the information, though, will give it another try right now.

ace

2004-01-06 03:21

reporter   ~0004545

Did ./Config -q, make clean, rm include setup.h, ran the entire ./Config again, make, and I still get all of the "no such file or directory" errors when running make.

codemastr

2004-01-06 03:34

reporter   ~0004546

Does extras/tre.tar.gz exist? What about extras/tre-0.6.4? What about extras/regexp? Did ./Config configure/compile/install TRE?

Also another thing to try, cvs update -d

ace

2004-01-06 03:59

reporter   ~0004550

[ace@millions extras]$ ls
burst.c CVS extras.txt m_rawto.c regexp tre-0.6.4
channeldumper.c defizzer.c malloc.c regex tre tre.tar.gz
[ace@millions extras]$

I still get "no such file or directory" along with some other warnings and stuff in struct.h. I will capture the output of 'make' to a file and post it here--what is the command, isn't it
make | filename ?

codemastr

2004-01-06 04:06

reporter   ~0004551

The output of make isn't going to be helpful. Try:

ls -l extras/regexp/include/tre/regex.h

From the Unreal3.2 directory

ace

2004-01-06 20:43

reporter   ~0004564

[ace@millions Unreal3.2]$ ls -l extras/regexp/include/tre/regex.h
-rw-r--r-- 1 ace users 6285 Jan 5 21:55 extras/regexp/include/tre/regex.h
[ace@millions Unreal3.2]$ ls -l extras/regexp/include/tre/regex.h

codemastr

2004-01-06 23:06

reporter   ~0004570

Well now that's just interesting. I guess I'll try and get ahold of an RH shell somewhere to test this. Basically, the path it is searching for the file in is

../include/../extras/regexp/include/tre/regex.h

With current dir being Unreal3.2/src. If you go to Unreal3.2/src and type:

pico(or whatever editor you use) ../include/../extras/regexp/include/tre/regex.h

Does it work?

codemastr

2004-01-07 00:29

reporter   ~0004571

This should be fixed in the latest CVS (.2034) could you give it a try and let me know? I redesigned everything that could possibly cause this.

ace

2004-01-07 02:58

reporter   ~0004572

Fixed, thanks!

Issue History

Date Modified Username Field Change
2004-01-05 22:12 ace New Issue
2004-01-06 00:26 syzop Note Added: 0004534
2004-01-06 00:50 codemastr Note Added: 0004539
2004-01-06 02:45 ace Note Added: 0004543
2004-01-06 03:21 ace Note Added: 0004545
2004-01-06 03:34 codemastr Note Added: 0004546
2004-01-06 03:59 ace Note Added: 0004550
2004-01-06 04:06 codemastr Note Added: 0004551
2004-01-06 20:43 ace Note Added: 0004564
2004-01-06 23:06 codemastr Note Added: 0004570
2004-01-07 00:29 codemastr Note Added: 0004571
2004-01-07 02:58 ace Note Added: 0004572
2004-01-07 03:23 codemastr Status new => resolved
2004-01-07 03:23 codemastr Resolution open => fixed
2004-01-07 03:23 codemastr Assigned To => codemastr