Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build on arch linux #22

Closed
hartmark opened this issue Oct 24, 2023 · 3 comments
Closed

Cannot build on arch linux #22

hartmark opened this issue Oct 24, 2023 · 3 comments

Comments

@hartmark
Copy link
Contributor

I'm getting that the library ossp-uuid is not found.

Tried make a package for it:

% cat PKGBUILD 
# Maintainer: harre <mail@hartmark.se>

pkgname=ossp-uuid
_pkgname=ossp-uuid
pkgver=1.6.2
pkgrel=1
epoch=1
pkgdesc="OSSP platform - Universally Unique Identifier"
arch=('any')
options=('!strip' 'staticlibs')
url="http://www.ossp.org/pkg/lib/uuid/"
license=("custom")
provides=("${_pkgname}")
groups=("development")

source=("ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz")
sha256sums=('11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0')

build() {
   cd "${srcdir}/uuid-${pkgver}"
   ./configure --prefix=/usr
   make
}

check() {
   cd "${srcdir}/uuid-${pkgver}"
   make check
}

package() {
   cd "${srcdir}/uuid-${pkgver}"
   install -Dm 644 "${srcdir}/uuid-${pkgver}/README" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
   make DESTDIR=${pkgdir}/ install
}
$ makepkg -si
...
Packages (1) ossp-uuid-1:1.6.2-1

Total Installed Size:  0.16 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                                                   [####################################################################################################] 100%
(1/1) checking package integrity                                                                                                                                 [####################################################################################################] 100%
(1/1) loading package files                                                                                                                                      [####################################################################################################] 100%
(1/1) checking for file conflicts                                                                                                                                [####################################################################################################] 100%
error: failed to commit transaction (conflicting files)
ossp-uuid: /usr/lib/libuuid.so exists in filesystem (owned by util-linux-libs)
ossp-uuid: /usr/lib/pkgconfig/uuid.pc exists in filesystem (owned by util-linux-libs)
ossp-uuid: /usr/share/man/man3/uuid.3.gz exists in filesystem (owned by util-linux-libs)
Errors occurred, no packages were upgraded.

I can fold everything under /usr/share/ossp-uuid by using this line instead under build():
./configure --prefix=/usr/share/${_pkgname}

image

How can I make the cmake find this library? This is a bit outside my skill :/

@hartmark
Copy link
Contributor Author

Hehe, was about to go to bed and found this AUR-package
https://aur.archlinux.org/packages/uuid

Now it's working again.

PS. alt+enter brings the game on full screen on the leftmost monitor only when having two monitors.

@hartmark
Copy link
Contributor Author

Created a PR for adding the link #23

@afwbkbc
Copy link
Owner

afwbkbc commented Oct 24, 2023

GJ, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants