Build instructions for arch linux

58 views
Skip to first unread message

Angel Docampo

unread,
Apr 12, 2020, 3:43:42 PM4/12/20
to Ogon Project
Hi there,

I'm trying to install ogon under Arch Linux, but I'm having issues with luapack. I tried to install all dependencies, but I think I miss some.
Is there any building instructions for arch linux which I can follow?

Thank you.

Bernhard Miklautz

unread,
Apr 14, 2020, 4:25:16 AM4/14/20
to Angel Docampo, Ogon Project
Hi Angelo,

On Sun, Apr 12, 2020 at 12:43:42PM -0700, Angel Docampo wrote:
> I'm trying to install ogon under Arch Linux, but I'm having issues with
> luapack. I tried to install all dependencies, but I think I miss some.
from your description I can't pin the problem. Can you give us more information
on the problem? Errors, build logs or similar?

> Is there any building instructions for arch linux which I can follow?
No one of us uses arch at the moment so we unfortunately don't have build
instructions at this time. But we gladly accept contributions :).

Best regards,
Bernhard

Angel Docampo

unread,
Apr 16, 2020, 4:52:10 AM4/16/20
to Ogon Project
Hi Bernado ;)


El martes, 14 de abril de 2020, 10:25:16 (UTC+2), Bernhard Miklautz escribió:
Hi Angelo,

On Sun, Apr 12, 2020 at 12:43:42PM -0700, Angel Docampo wrote:
> I'm trying to install ogon under Arch Linux, but I'm having issues with
> luapack. I tried to install all dependencies, but I think I miss some.
from your description I can't pin the problem. Can you give us more information
on the problem? Errors, build logs or similar?


Sure, I'm attaching the complete log and putthing here the error.
libtool: install: /usr/bin/install -c .libs/libluasocket.lai /home/angel/ogon/external/Install/thrift/lib/libluasocket.la
libtool: warning: relinking 'libluabpack.la'
libtool: install: (cd /home/angel/ogon/external/Source/thrift/lib/lua; /bin/sh "/home/angel/ogon/external/Source/thrift/libtool"  --tag CC --mode=relink gcc -g -O2 -o libluabpack.la -rpath /home/angel/ogon/external/Install/thrift/lib src/libluabpack_la-luabpack.lo liblualongnumber.la -llua5.3 -ldl -lm -lrt -lpthread )
libtool: relink: gcc -shared  -fPIC -DPIC  src/.libs/libluabpack_la-luabpack.o   -Wl,-rpath -Wl,/home/angel/ogon/external/Install/thrift/lib -L/home/angel/ogon/external/Install/thrift/lib -llualongnumber -llua5.3 -ldl -lm -lrt -lpthread  -g -O2   -Wl,-soname -Wl,libluabpack.so.0 -o .libs/libluabpack.so.0.0.0
/usr/bin/ld: cannot find -llualongnumber
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'libluabpack.la' with the above command before installing it
make[7]: *** [Makefile:660: install-libLTLIBRARIES] Error 1
make[6]: *** [Makefile:1004: install-am] Error 2
make[5]: *** [Makefile:842: install-recursive] Error 1
make[4]: *** [Makefile:577: install-recursive] Error 1
make[3]: *** [Makefile:660: install-recursive] Error 1
make[2]: *** [session-manager/CMakeFiles/thrift.dir/build.make:94: external/Stamp/thrift/thrift-install] Error 2
make[1]: *** [CMakeFiles/Makefile2:534: session-manager/CMakeFiles/thrift.dir/all] Error 2
make: *** [Makefile:150: all] Error 2


By executing by hand the line
gcc -shared  -fPIC -DPIC  src/.libs/libluabpack_la-luabpack.o   -Wl,-rpath -Wl,/home/angel/ogon/external/Install/thrift/lib -L/home/angel/ogon/external/Install/thrift/lib -llualongnumber -llua5.3 -ldl -lm -lrt -lpthread  -g -O2   -Wl,-soname -Wl,libluabpack.so.0 -o .libs/libluabpack.so.0.0.0
It returns the error
gcc: error: src/.libs/libluabpack_la-luabpack.o: No such file or directory

So it seems cmake didn't create all the folders I need, in fact, I have no "src" subdirectory under the ogon directory

> Is there any building instructions for arch linux which I can follow?
No one of us uses arch at the moment so we unfortunately don't have build
instructions at this time. But we gladly accept contributions :).
I will be glad to include installation steps when I can get ogon installed

Best regards,
Bernhard
Best,
Angel
ogon-error.txt
Reply all
Reply to author
Forward
0 new messages