Coder Social home page Coder Social logo

Comments (8)

ilya-zlobintsev avatar ilya-zlobintsev commented on August 25, 2024

Have you installed the build dependencies from the readme?
sudo dnf install git gtk3-devel rust cargo vulkan-headers perl-FindBin perl-File-Compare
And if you did, try installing openssl-devel as well.

from lact.

ninchuka avatar ninchuka commented on August 25, 2024

from lact.

ninchuka avatar ninchuka commented on August 25, 2024

huh, it seems to be installed already @ilyazzz any other idea's?

from lact.

ilya-zlobintsev avatar ilya-zlobintsev commented on August 25, 2024

Apparently you also need the perl-core package. No idea why it's needed, but I'll add it to the docs.

from lact.

ninchuka avatar ninchuka commented on August 25, 2024

well it got further I think

[haise@fedora LACT]$ ./deploy.sh
   Compiling openssl-sys v0.9.71
   Compiling thiserror v1.0.30
   Compiling env_logger v0.9.0
   Compiling rand_chacha v0.3.1
   Compiling structopt-derive v0.4.18
   Compiling env_logger v0.8.4
   Compiling toml v0.5.8
   Compiling h2 v0.3.7
   Compiling serde_json v1.0.72
   Compiling serde_urlencoded v0.7.0
   Compiling pest_derive v2.1.0
   Compiling chrono v0.4.19
   Compiling field-offset v0.3.4
   Compiling bincode v1.3.3
   Compiling rand v0.8.4
   Compiling handlebars v4.1.5
   Compiling system-deps v3.2.0
   Compiling proc-macro-crate v1.1.0
   Compiling vulkano v0.26.0
   Compiling structopt v0.3.25
   Compiling glib-macros v0.14.1
   Compiling gtk3-macros v0.14.0
   Compiling glib-sys v0.14.0
   Compiling gobject-sys v0.14.0
   Compiling gio-sys v0.14.0
   Compiling cairo-sys-rs v0.14.9
   Compiling pango-sys v0.14.0
   Compiling gdk-pixbuf-sys v0.14.0
   Compiling gdk-sys v0.14.0
   Compiling atk-sys v0.14.0
   Compiling gtk-sys v0.14.0
The following warnings were emitted during compilation:

warning: `"pkg-config" "--libs" "--cflags" "pango" "pango >= 1.38"` did not exit successfully: exit status: 1

error: failed to run custom build command for `pango-sys v0.14.0`

Caused by:
  process didn't exit successfully: `/home/haise/LACT/target/release/build/pango-sys-2047070bc45c7564/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=PANGO_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:warning=`"pkg-config" "--libs" "--cflags" "pango" "pango >= 1.38"` did not exit successfully: exit status: 1
  --- stdout


  --- stderr
  Package libpng was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libpng.pc'
  to the PKG_CONFIG_PATH environment variable
  Package 'libpng', required by 'freetype2', not found
  Package 'libpng', required by 'freetype2', not found

warning: build failed, waiting for other jobs to finish...
The following warnings were emitted during compilation:

warning: `"pkg-config" "--libs" "--cflags" "cairo" "cairo >= 1.14"` did not exit successfully: exit status: 1

error: build failed
Failed to enable unit: Unit file lactd.service does not exist.

from lact.

ilya-zlobintsev avatar ilya-zlobintsev commented on August 25, 2024

Are you sure you have the build dependencies from the readme installed? The error points to a missing libpng-devel, but that should already be pulled by the GTK build dependency. I've just tried building in a clean fedora 35 container only installing what's in the readme, and it seems to work.

from lact.

ninchuka avatar ninchuka commented on August 25, 2024
[haise@fedora LACT]$ sudo dnf install git gtk3-devel rust cargo vulkan-headers perl-core
[sudo] password for haise: 
Last metadata expiration check: 0:08:24 ago on Sun 05 Dec 2021 20:56:45 GMT.
Package git-2.33.1-2.fc35.x86_64 is already installed.
Package gtk3-devel-3.24.30-4.fc35.i686 is already installed.
Package rust-1.56.1-1.fc35.x86_64 is already installed.
Package cargo-1.56.1-1.fc35.x86_64 is already installed.
Package vulkan-headers-1.2.189.0-1.fc35.noarch is already installed.
Package perl-4:5.34.0-482.fc35.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

yep everything is installed, I am running fedora 35 KDE if that matters for any reason

from lact.

ilya-zlobintsev avatar ilya-zlobintsev commented on August 25, 2024

The latest release no longer depends on openssl, please open another issue if you have problems building LACT.

from lact.

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.