I suspect this is due to the configure script from the upstream sources expecting the
location of the header.py to be /usr/lib64/xulrunner-devel-44.0/sdk/bin/header.py while
the Fedora rpm of xulrunner installs it at a different location, more specifically at
/usr/lib64/xulrunner/header.py [0]
You could try to modify the respective locations at the configure.in to make it consistent
with the Fedora packaging.
You could also try to contact the gecko-maint team regarding your issue, they might be
able to provide more info [1]
[0]
http://pkgs.fedoraproject.org/cgit/rpms/xulrunner.git/tree/xulrunner.spec...
[1]
https://admin.fedoraproject.org/pkgdb/packager/gecko-maint/
Regards,
Charalampos Stratakis
Associate Software Engineer
Python Maintenance Team, Red Hat
----- Original Message -----
From: "Cătălin George Feștilă" <catalinfest(a)gmail.com>
To: "Development discussions related to Fedora"
<devel(a)lists.fedoraproject.org>, python-devel(a)lists.fedoraproject.org
Sent: Friday, March 10, 2017 4:59:25 PM
Subject: Re: try to build the python module: PyXPCOM with errors
I try to build the pyxpcom
nope
[root@localhost mythcat]# dnf install xulrunner-devel
Last metadata expiration check: 2:50:44 ago on Fri Mar 10 15:05:41 2017.
Package xulrunner-devel-44.0-9.fc25.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
maybe is something else !
I used this page to build :
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_In...
The error I got come from the last part: make
See error result
[root@localhost build]# ls
config config.log dist mozilla-config.h
config.cache config.status Makefile xpcom
[root@localhost build]# ./config.status
creating config/ autoconf.mk
creating Makefile
creating xpcom/Makefile
creating xpcom/src/Makefile
creating xpcom/src/loader/Makefile
creating xpcom/src/module/Makefile
creating xpcom/components/Makefile
creating xpcom/test/Makefile
creating xpcom/test/test_component/Makefile
[root@localhost build]# make
make export
make[1]: Entering directory '/home/mythcat/pyxpcom/build'
make[2]: Entering directory '/home/mythcat/pyxpcom/build/config'
if test ! -d system_wrappers; then mkdir system_wrappers; fi
/usr/bin/perl ../../src/config/ preprocessor.pl
-DOSTYPE=\"Linux4.9.13-200.fc25\" -DOSARCH=Linux -DHAVE_64BIT_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-DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_TYPENAME=1
-DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1 -DHAVE_CPP_PARTIAL_SPECIALIZATION=1
-DHAVE_CPP_ACCESS_CHANGING_USING=1 -DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1
-DHAVE_CPP_NAMESPACE_STD=1 -DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1
-DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DNEED_CPP_UNUSED_IMPLEMENTATIONS=1
-DHAVE_I18N_LC_MESSAGES=1 -DHAVE_CPP_CHAR16_T=1 -DMOZ_DLL_SUFFIX=\".so\"
-DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 \
../../src/config/system-headers | /usr/bin/perl ../../src/config/ make-system-wrappers.pl
system_wrappers
/usr/bin/python ../../src/config/nsinstall.py -R system_wrappers ../dist
make[2]: Leaving directory '/home/mythcat/pyxpcom/build/config'
make[2]: Entering directory '/home/mythcat/pyxpcom/build/xpcom'
make[3]: Entering directory '/home/mythcat/pyxpcom/build/xpcom/src'
make[4]: Entering directory '/home/mythcat/pyxpcom/build/xpcom/src/module'
make[4]: Nothing to be done for 'export'.
make[4]: Leaving directory '/home/mythcat/pyxpcom/build/xpcom/src/module'
make[4]: Entering directory '/home/mythcat/pyxpcom/build/xpcom/src/loader'
make[4]: Nothing to be done for 'export'.
make[4]: Leaving directory '/home/mythcat/pyxpcom/build/xpcom/src/loader'
/usr/bin/python ../../../src/config/nsinstall.py -R -m 644
../../../src/xpcom/src/PyXPCOM.h ../../dist/include
make[3]: Leaving directory '/home/mythcat/pyxpcom/build/xpcom/src'
make[3]: Entering directory '/home/mythcat/pyxpcom/build/xpcom/components'
make[3]: Nothing to be done for 'export'.
make[3]: Leaving directory '/home/mythcat/pyxpcom/build/xpcom/components'
make[3]: Entering directory '/home/mythcat/pyxpcom/build/xpcom/test'
make[4]: Entering directory
'/home/mythcat/pyxpcom/build/xpcom/test/test_component'
py_test_component.idl
/usr/bin/python ../../../../src/config/pythonpath.py \
-I/usr/lib64/xulrunner-devel-44.0/sdk/bin/ply \
/usr/lib64/xulrunner-devel-44.0/sdk/bin/header.py
--cachedir=/home/mythcat/pyxpcom/build/xpcom/test/test_component/cache
-I../../../../src/xpcom/test/test_component -I../../../dist/idl
-I/usr/lib64/xulrunner-devel-44.0/idl
../../../../src/xpcom/test/test_component/py_test_component.idl -d
.deps/py_test_component.h.pp -o _xpidlgen/py_test_component.h
Traceback (most recent call last):
File "../../../../src/config/pythonpath.py", line 40, in <module>
execfile(script, {'__name__': '__main__', '__file__': script})
IOError: [Errno 2] No such file or directory:
'/usr/lib64/xulrunner-devel-44.0/sdk/bin/header.py'
../../../../src/config/ rules.mk:1668 : recipe for target
'_xpidlgen/py_test_component.h' failed
make[4]: *** [_xpidlgen/py_test_component.h] Error 1
make[4]: Leaving directory '/home/mythcat/pyxpcom/build/xpcom/test/test_component'
../../../src/config/ rules.mk:796 : recipe for target 'export' failed
make[3]: *** [export] Error 2
make[3]: Leaving directory '/home/mythcat/pyxpcom/build/xpcom/test'
../../src/config/ rules.mk:796 : recipe for target 'export' failed
make[2]: *** [export] Error 2
make[2]: Leaving directory '/home/mythcat/pyxpcom/build/xpcom'
../src/config/ rules.mk:796 : recipe for target 'export' failed
make[1]: *** [export] Error 2
make[1]: Leaving directory '/home/mythcat/pyxpcom/build'
../src/config/ rules.mk:727 : recipe for target 'default' failed
make: *** [default] Error 2
[root@localhost build]# ls
_______________________________________________
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
_______________________________________________
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
_______________________________________________
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org