Giter Club home page Giter Club logo

Comments (4)

bkurdali avatar bkurdali commented on June 27, 2024

Update:
by symlinking the libraries into /root/.konan/dependencies/clang-llvm-8.0.0-linux-x86-64/lib
e.g. ln -s /lib64/libXpm.so ./
etc..
I can get it to build!
ldd lcarswm.kexe gives:
linux-vdso.so.1 (0x00007fff305cd000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f16e7aa4000)
libm.so.6 => /lib64/libm.so.6 (0x00007f16e795e000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f16e793c000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f16e7921000)
libc.so.6 => /lib64/libc.so.6 (0x00007f16e7756000)
/lib64/ld-linux-x86-64.so.2 (0x00007f16e7ad6000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f16e773c000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007f16e7735000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f16e76fb000)
librt.so.1 => /lib64/librt.so.1 (0x00007f16e76f0000)
libX11.so.6 => /lib64/libX11.so.6 (0x00007f16e75a9000)
libXpm.so.4 => /lib64/libXpm.so.4 (0x00007f16e7595000)
libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007f16e7588000)
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f16e7454000)
libpango-1.0.so.0 => /lib64/libpango-1.0.so.0 (0x00007f16e7402000)
libpangoxft-1.0.so.0 => /lib64/libpangoxft-1.0.so.0 (0x00007f16e73f7000)
libXft.so.2 => /lib64/libXft.so.2 (0x00007f16e73de000)
libxml2.so.2 => /lib64/libxml2.so.2 (0x00007f16e7253000)
libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f16e7229000)
libXext.so.6 => /lib64/libXext.so.6 (0x00007f16e7212000)
libXrender.so.1 => /lib64/libXrender.so.1 (0x00007f16e7205000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f16e718c000)
libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f16e7132000)
libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007f16e6f64000)
libfribidi.so.0 => /lib64/libfribidi.so.0 (0x00007f16e6f46000)
libthai.so.0 => /lib64/libthai.so.0 (0x00007f16e6f39000)
libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007f16e6e6b000)
libpangoft2-1.0.so.0 => /lib64/libpangoft2-1.0.so.0 (0x00007f16e6e51000)
libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007f16e6e06000)
libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007f16e6d43000)
libz.so.1 => /lib64/libz.so.1 (0x00007f16e6d29000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f16e6cfb000)
libXau.so.6 => /lib64/libXau.so.6 (0x00007f16e6cf6000)
libffi.so.6 => /lib64/libffi.so.6 (0x00007f16e6ceb000)
libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f16e6ce5000)
libmount.so.1 => /lib64/libmount.so.1 (0x00007f16e6ca2000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f16e6c75000)
libdatrie.so.1 => /lib64/libdatrie.so.1 (0x00007f16e6c6a000)
libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007f16e6c49000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f16e6c36000)
libpng16.so.16 => /lib64/libpng16.so.16 (0x00007f16e6bfd000)
libbrotlidec.so.1 => /lib64/libbrotlidec.so.1 (0x00007f16e6bef000)
libblkid.so.1 => /lib64/libblkid.so.1 (0x00007f16e6bb8000)
libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007f16e6b21000)
libbrotlicommon.so.1 => /lib64/libbrotlicommon.so.1 (0x00007f16e6afe000)

however, I can't get it to run: from gdm I can select it but it goes back instantly, running startlcarswm from a running desktop (gnome) shows the bare bones of it, but crashes that desktop, and running it from another tty aborts

from lcarswm.

atennert avatar atennert commented on June 27, 2024

Hey @bkurdali, I'm glad that you could solve it. Just one question.

in src/nativeInterop/cinterop/xlib.def there are two folders references for the libraries:

  • /usr/lib
  • /usr/lib/x86_64-linux-gnu

Those fit to Arch Linux and Ubuntu, which are the systems, that I checked. What is the right library folder in Fedora, /usr/lib64, or something else?

from lcarswm.

atennert avatar atennert commented on June 27, 2024

@bkurdali, forget that last question, I re-read your comment and saw the answer at the end :)

But to answer your question: the linker and include settings are in src/nativeInterop/cinterop/xlib.def

I will add the /usr/lib64 directory later today

from lcarswm.

bkurdali avatar bkurdali commented on June 27, 2024

thanks!

from lcarswm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.