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

make install DESTDIR=% fails if not exists directories under % dir #6

Open
Bogdan107 opened this issue Dec 3, 2020 · 0 comments
Open

Comments

@Bogdan107
Copy link

Bogdan107 commented Dec 3, 2020

App version: 0.9998
OS: Gentoo
Install in standart way for Gentoo - by ebuild:

EAPI=6
inherit git-r3
DESCRIPTION="SQLite ODBC Driver"
HOMEPAGE="https://github.com/softace/sqliteodbc"
EGIT_REPO_URI="https://github.com/softace/sqliteodbc"

LICENSE="https://github.com/softace/sqliteodbc/blob/master/license.terms"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64 ~x86"
IUSE=""

src_install() {
dodir /usr
dodir /usr/lib64
default
}

Installation fails due to do not exist directories like /usr and /usr/lib64...
If I manual create those dirs by commands in ebuild:

dodir /usr
dodir /usr/lib64

before execution of make install DESTDIR=%, then installation finish successful.

Error is at phase make install DESTDIR=%.
I think, that at this phase, installer MUST create directories (if they are not exists), which program need for storing they files, like BINDIR, LIBDIR, INCLUDEDIR, DATADIR or any others (./configure --help | grep "=DIR").

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

1 participant