daokoder / dao-modules

Dao Standard Modules
http://daovm.net
12 stars 5 forks source link

Bug: regex module can't be built #43

Closed dumblob closed 9 years ago

dumblob commented 9 years ago

Initially I didn't want to publish this error as the makefile.dao (as replacement for configure) for Onigmo is not yet created, but for sleeping recklessly, I'm putting it here.

...
make[3]: Entering directory '/home/test/dao/modules/regex'
cc -ggdb -O0 -DDEBUG -DDAO_WITH_NUMARRAY -DDAO_WITH_DECORATOR -DDAO_WITH_THREAD -DDAO_WITH_CONCURRENT -DTARGET_PLAT=\"linux\" -DLINUX=2 -DUNIX=1 -I../../kernel/ -IOnigmo/ -fPIC  -c dao_regex.c -o DaoMake.Objs/dao_regex.c.A9C6.o
cc DaoMake.Objs/dao_regex.c.A9C6.o -ggdb -lm -ldl -lpthread -Wl,--whole-archive /home/test/dao/modules/regex/Onigmo/.libs/libonig.a -Wl,--no-whole-archive -shared -Wl,-soname,libdao_regex.so -Wl,-export-dynamic -rdynamic  -o ../../lib/dao/modules/libdao_regex.so
cc: error: /home/test/dao/modules/regex/Onigmo/.libs/libonig.a: No such file or directory
Makefile:46: recipe for target '../../lib/dao/modules/libdao_regex.so' failed
make[3]: *** [../../lib/dao/modules/libdao_regex.so] Error 1
make[3]: Leaving directory '/home/test/dao/modules/regex'
Makefile:105: recipe for target 'regex' failed
make[2]: *** [regex] Error 2
make[2]: Leaving directory '/home/test/dao/modules'
...
daokoder commented 9 years ago

Just added a preliminary makefile.dao for Onigmo, not yet tested on platforms other than mac-osx.

Night-walker commented 9 years ago

Can confirm that it works with MinGW.

daokoder commented 9 years ago

Just tried, it also works on Lubuntu. I think we can close this issue now.