Skip to content

Update source building instructions#2

Closed
davidstrauss wants to merge 1 commit intomasterfrom
update-build-from-source
Closed

Update source building instructions#2
davidstrauss wants to merge 1 commit intomasterfrom
update-build-from-source

Conversation

@davidstrauss
Copy link
Member

  • Only list Fedora 21+. Older releases are no longer supported by upstream, let alone for systemd development.
  • Fedora now uses pip and pip3, not pip-python and pip-python3. By only documenting Fedora 21+, we can be consistent in the instructions.
  • Use HTTPS for git (rather than HTTP).

* Only list Fedora 21+. Older releases are no longer supported by upstream, let alone for systemd development.
* Fedora now uses `pip` and `pip3`, not `pip-python` and `pip-python3`. By only documenting Fedora 21+, we can be consistent in the instructions.
* Use HTTPS for git (rather than HTTP).
@davidstrauss
Copy link
Member Author

I should mention that the build still fails on Fedora 22. It's just much closer to working with the changes in this pull request.

[...]

building 'systemd/id128' extension

gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPACKAGE_VERSION="230" -I/usr/include/python3.4m -c systemd/id128.c -o build/temp.linux-x86_64-3.4/systemd/id128.o

systemd/id128.c: In function ‘PyInit_id128’:

systemd/id128.c:149:29: fatal error: id128-constants.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1

----------------------------------------
Command "/usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-044zcu7u/systemd/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-zmsys2r2-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-044zcu7u/systemd

I get a similar error for Python 2.

@gtmanfred
Copy link

I am getting this as well, and since python-systemd is not in 223.

The master branch appears to be compiling, can a new tag of this be made?

@keszybz keszybz closed this Aug 2, 2015
@keszybz keszybz deleted the update-build-from-source branch August 2, 2015 14:20
@keszybz
Copy link
Member

keszybz commented Aug 2, 2015

Ooops, I somehow missed this pull request. Committed as 58c65cf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants