Issue information

Issue ID
#6671
Status
Started
Severity
None
Started
Hercules Elf Bot
Sep 11, 2012 10:57
Last Post
Hercules Elf Bot
Sep 12, 2012 7:32
Confirmation
Yes (0)
No (1)

Hercules Elf Bot - Sep 11, 2012 10:57

Originally posted by [b]VodkaMartini[/b]
[u][b]PCRE Support FreeBSD 9.0 64bit[/b][/u]
known from = r1646x - r16772

the severity is not high, just for they who want to run rAthena on BSD with PCRE support, because the configure.in doesn't detect default pcre-config in my BSD. (/usr/local/lib)

VPS Running on :
OS : FreeBSD 9.0 - 64bit,
cputype opteron, 2 Core, 2 GB of RAM
installed from ports : GCC 4.6.3, Mysql 5.5.27, PCRE 8.31

Just realized when the custom disguise event script not working properly because rAthena was not compiled with PCRE ([url="http://rathena.org/wiki/PCRE"]http://rathena.org/wiki/PCRE[/url])

when running with
[code]./configure --with-pcre[/code]
it shows
[attachment=3495:Untitled.png]

Solution:
[code]./configure --with-pcre=/usr/local/[/code]
or
[code]./configure --with-pcre="/usr/local/"[/code]

and with complete 64bit support
[code]./configure --enable-64bit --with-pcre=/usr/local/[/code]
[attachment=3496:Untitled2.png]

then gmake as usual.

or just add this to wiki in PCRE for Unix ?

[u][b]Compile Warning[/b][/u]
r16748 - 16772
[code]
login.c: In function 'login_config_read':
login.c:1693: warning: format '%x' expects type 'unsigned int *', but argument 3 has type 'uint8 *'[/code]


Regards,
Vodka

Hercules Elf Bot - Sep 11, 2012 16:16

Originally posted by [b]GreenBox[/b]
Fixed login.c warning at [rev=16775].
I leave the PCRE bug to someone other as I can't reproduce it.

This post has been edited by GreenBox on Sep 11, 2012 16:16

Hercules Elf Bot - Sep 11, 2012 19:55

Originally posted by [b]Ind[/b]
i think you're outdated o.o cause for example our configure file doesn't have enable-64bit (it was removed long ago)

Hercules Elf Bot - Sep 12, 2012 3:51

Originally posted by [b]VodkaMartini[/b]
confirmed the --enable-64bit, this is outdated. /ok

what about the --with-pcre ? still having problems in BSD machine, can't automatically detect PCRE path. it's optional though, but need the PCRE support for this function :
[list]
[*][url="http://rathena.org/wiki/Activatepset"]activatepset[/url]
[*][url="http://rathena.org/wiki/Deactivatepset"]deactivatepset[/url]
[*][url="http://rathena.org/wiki/Defpattern"]defpattern[/url]
[*][url="http://rathena.org/wiki/Deletepset"]deletepset[/url]
[/list]
which are needed for some npc scripts.

This post has been edited by VodkaMartini on Sep 12, 2012 3:54

Hercules Elf Bot - Sep 12, 2012 5:00

Originally posted by [b]Ind[/b]
o-o we provide pcre lib out of the box (in the 3rd party folder) i don't think you need the --with-pcre

Hercules Elf Bot - Sep 12, 2012 7:32

Originally posted by [b]VodkaMartini[/b]
tried compiling w/o --with-pcre and disguise event npc error at 'deletepset' part.