Bug #149

Python bindings doesn't compile in 0.64.4

Added by Ruben Lopez over 6 years ago. Updated almost 6 years ago.

Status:FeedbackStart date:09/20/2010
Priority:NormalDue date:
Assignee:Jorge Daza Garcia-Blanes% Done:

0%

Category:python
Target version:0.64.5

Description

I have followed the README.python (after using scons in the root), and this is the output:

building 'drqueue.base._libdrqueue' extension
swigging src/drqueue/base/libdrqueue.i to src/drqueue/base/libdrqueue_wrap.c
swig -python -I/tmp/DrQueue-0.64.4 -I/tmp/DrQueue-0.64.4/python/libdrqueue -D__LINUX -o src/drqueue/base/libdrqueue_wrap.c src/drqueue/base/libdrqueue.i
src/drqueue/base/libdrqueue.i:98: Error: Unable to find 'pointer.h'
src/drqueue/base/libdrqueue.i:99: Error: Unable to find 'libdrqueue.h'
src/drqueue/base/libdrqueue.i:100: Error: Unable to find 'computer.h'
src/drqueue/base/libdrqueue.i:101: Error: Unable to find 'computer_info.h'
src/drqueue/base/libdrqueue.i:102: Error: Unable to find 'computer_status.h'
src/drqueue/base/libdrqueue.i:103: Error: Unable to find 'task.h'
src/drqueue/base/libdrqueue.i:104: Error: Unable to find 'request.h'
src/drqueue/base/libdrqueue.i:105: Error: Unable to find 'constants.h'
src/drqueue/base/libdrqueue.i:106: Error: Unable to find 'job.h'
src/drqueue/base/libdrqueue.i:107: Error: Unable to find 'envvars.h'
src/drqueue/base/libdrqueue.i:108: Error: Unable to find 'common.h'
src/drqueue/base/libdrqueue.i:109: Error: Unable to find 'computer_pool.h'
error: command 'swig' failed with exit status 1

Changing setup.py to uncomment the -I line doesn't help, it finds the headers but fails anyway.

Then I tried another approach, uncomment the python "target" in the main SConstruct. This worked and I got a _drqueue.so file that I can use by renaming to _libdrqueue.so. I didn't investigated any further because I need to have it up and running ASAP :(

python_bindings_errors.txt Magnifier (116 KB) Jason Tyler, 04/06/2011 05:47 am

jason - Check this script file. (58.4 KB) Jorge Daza Garcia-Blanes, 04/14/2011 04:53 pm

History

#1 Updated by Andreas Schröder over 6 years ago

  • Assignee set to Jorge Daza Garcia-Blanes

#2 Updated by Andreas Schröder over 6 years ago

  • Target version set to 0.64.5

#3 Updated by Jason Tyler over 6 years ago

Same issue here, running Ubuntu 9.04, same error on 0.64.4. Thanks!

#4 Updated by Jason Tyler almost 6 years ago

Tried compiling under Ubuntu 10.04.2 LTS, I have the same issue. Does anyone have a workaround?

#5 Updated by Jorge Daza Garcia-Blanes almost 6 years ago

  • Status changed from New to Feedback

I have recently committed a batch of changes to make the python bindings compile. At least on Snow Leopard, they compile.

ISSUES:

1) You need to copy libdrqueue directory to the python one "cd python; cp -r ../libdrqueue ."
I know, it sucks, but I haven't found the way yet to make back-references to include directories with setuptools.

2) You need to set manually the architecture flags on the command line, like:
$"ARCHFLAGS=-arch x64_86" python setup.py build_ext
Same thing.

3) First you use build_ext, then you use build_py.

That's for a Mac, maybe in your case is easier :) Keep me posted.

#6 Updated by Jason Tyler almost 6 years ago

I tried following the instructions about and ran into a few problems.

I copied the libdrqueue folder into the python folder from ../src/libdrqueue instead of ../libdrqueue

On Ubuntu my ARCHFLAGS are set via "export ARCHFLAGS="-arch i386"

This is what I get when running "python setup.py build_ext"

('Platform is: ', 'linux2')
running build_ext
building 'drqueue.base._libdrqueue' extension
swigging src/drqueue/base/libdrqueue.i to src/drqueue/base/libdrqueue_wrap.c
swig -python -I/root/drqueue-latest/drqueue -I/root/drqueue-latest/drqueue/python/libdrqueue -D__LINUX -o src/drqueue/base/libdrqueue_wrap.c src/drqueue/base/libdrqueue.i
creating build
creating build/temp.linux-i686-2.6
creating build/temp.linux-i686-2.6/src
creating build/temp.linux-i686-2.6/src/drqueue
creating build/temp.linux-i686-2.6/src/drqueue/base
creating build/temp.linux-i686-2.6/root
creating build/temp.linux-i686-2.6/root/drqueue-latest
creating build/temp.linux-i686-2.6/root/drqueue-latest/drqueue
creating build/temp.linux-i686-2.6/root/drqueue-latest/drqueue/python
creating build/temp.linux-i686-2.6/root/drqueue-latest/drqueue/python/libdrqueue
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DCOMM_REPORT -D_GNU_SOURCE -D_NO_COMPUTER_POOL_SEMAPHORES -D_NO_COMPUTER_SEMAPHORES -D__LINUX -I/root/drqueue-latest/drqueue -I/root/drqueue-latest/drqueue/python/libdrqueue -I/usr/include/python2.6 -c src/drqueue/base/libdrqueue_wrap.c -o build/temp.linux-i686-2.6/src/drqueue/base/libdrqueue_wrap.o
gcc: : No such file or directory
In file included from /root/drqueue-latest/drqueue/python/libdrqueue/libdrqueue.h:41,
from src/drqueue/base/libdrqueue_wrap.c:2573:
/root/drqueue-latest/drqueue/python/libdrqueue/communications.h:96: warning: function declaration isnât a prototype
/root/drqueue-latest/drqueue/python/libdrqueue/communications.h:97: warning: function declaration isnât a prototype
In file included from /root/drqueue-latest/drqueue/python/libdrqueue/libdrqueue.h:46,
from src/drqueue/base/libdrqueue_wrap.c:2573:
/root/drqueue-latest/drqueue/python/libdrqueue/common.h:32:21: error: git_rev.h: No such file or directory
src/drqueue/base/libdrqueue_wrap.c:2943: warning: function declaration isnât a prototype
src/drqueue/base/libdrqueue_wrap.c:3255: warning: function declaration isnât a prototype
src/drqueue/base/libdrqueue_wrap.c: In function âdelete_poolâ:
src/drqueue/base/libdrqueue_wrap.c:3388: warning: passing argument 1 of âcomputer_pool_freeâ from incompatible pointer type
/root/drqueue-latest/drqueue/python/libdrqueue/computer_pool.h:48: note: expected âstruct computer_limits *â but argument is of type âstruct pool *â
error: command 'gcc' failed with exit status 1

Any ideas? I did a fresh "git clone https://ssl.drqueue.org/git/drqueue.git" and then "git checkout -t remotes/origin/0.64.x" to make sure I was in the correct branch.

#7 Updated by Jorge Daza Garcia-Blanes almost 6 years ago

Please, get the latest (as of now) sources from 0.64.x and let me know.

It compiles in here...

#8 Updated by Jorge Daza Garcia-Blanes almost 6 years ago

Remember python has been moved to src/python

#9 Updated by Jason Tyler almost 6 years ago

I tried the build again, and it seemed to get further than before, but still failed with an error, please see attached file. Thanks for your help Jorge!

#10 Updated by Jorge Daza Garcia-Blanes almost 6 years ago

Jason Tyler wrote:

I tried the build again, and it seemed to get further than before, but still failed with an error, please see attached file. Thanks for your help Jorge!

I saw this in your messages:

"src/drqueue/base/libdrqueue_wrap.c:125:20: error: Python.h: No such file or directory"

Maybe the compiler is not finding the include files.

Btw, I just committed a bunch of changes... I expect some minor unexpected behavior... weird.

Anyway, I'd be gladly grateful if you could please use the latest sources, that way you'll be able to give me feedback. And I need data !!!! Number 5 needs data...

#11 Updated by Jason Tyler almost 6 years ago

It appears that the revision 0a94d9a5 that was to move the Python Folder to src/python instead deleted the files? When I checkout the remotes/origin/0.64.x branch, the python folder does not exist under the /python folder, or under the /src/python folder. The setup.py file isn't anywhere in the 0.64.x release now. :)

#12 Updated by Jorge Daza Garcia-Blanes almost 6 years ago

Jason Tyler wrote:

It appears that the revision 0a94d9a5 that was to move the Python Folder to src/python instead deleted the files? When I checkout the remotes/origin/0.64.x branch, the python folder does not exist under the /python folder, or under the /src/python folder. The setup.py file isn't anywhere in the 0.64.x release now. :)

Ooops Let me put it back... this new git... I said git mv !!!

Never mind, I'll push it back. Give me a minute. O:)

#13 Updated by Jorge Daza Garcia-Blanes almost 6 years ago

Give me some good news :)

#14 Updated by Jason Tyler almost 6 years ago

Still no Python folder under the 0.64.x branch :P Sorry for more bad news!

#15 Updated by Jorge Daza Garcia-Blanes almost 6 years ago

:D

Now ! Sorry, my mistake. I pushed the changes to my branch and forgot to merge.

Give me better news ! :P

All the best,
Jorge

#16 Updated by Jason Tyler almost 6 years ago

Looks like some progress, it was complaining about a missing file (git_rev.h), It doesn't appear to be in the 0.64.x branch. I found another copy and placed it into the src folder and it cleared up one error, when I run the "python setup.py build_ext" now I get this:

python setup.py build_ext
('Platform is: ', 'linux2')
running build_ext
building 'drqueue.base._libdrqueue' extension
swigging src/drqueue/base/libdrqueue.i to src/drqueue/base/libdrqueue_wrap.c
swig -python -I/root/drqueue-latest/drqueue/src -I/root/drqueue-latest/drqueue/src/python/libdrqueue -D__LINUX -o src/drqueue/base/libdrqueue_wrap.c src/drqueue/base/libdrqueue.i
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DCOMM_REPORT -D_GNU_SOURCE -D_NO_COMPUTER_POOL_SEMAPHORES -D_NO_COMPUTER_SEMAPHORES -D__LINUX -I/root/drqueue-latest/drqueue/src -I/root/drqueue-latest/drqueue/src/python/libdrqueue -I/usr/include/python2.6 -c src/drqueue/base/libdrqueue_wrap.c -o build/temp.linux-i686-2.6/src/drqueue/base/libdrqueue_wrap.o
gcc: : No such file or directory
src/drqueue/base/libdrqueue_wrap.c:3151: warning: function declaration isnât a prototype
src/drqueue/base/libdrqueue_wrap.c:3467: warning: function declaration isnât a prototype
src/drqueue/base/libdrqueue_wrap.c: In function âdelete_poolâ:
src/drqueue/base/libdrqueue_wrap.c:3600: warning: passing argument 1 of âcomputer_pool_freeâ from incompatible pointer type
/root/drqueue-latest/drqueue/src/python/libdrqueue/computer_pool.h:48: note: expected âstruct computer_limits *â but argument is of type âstruct pool *â
src/drqueue/base/libdrqueue_wrap.c: At top level:
/root/drqueue-latest/drqueue/src/python/libdrqueue/database.h:87: warning: âdr_file_readâ declared âstaticâ but never defined
/root/drqueue-latest/drqueue/src/python/libdrqueue/database.h:88: warning: âdr_file_writeâ declared âstaticâ but never defined
error: command 'gcc' failed with exit status 1

ideas?

#17 Updated by Jorge Daza Garcia-Blanes almost 6 years ago

  • Priority changed from High to Normal

Those are warnings... I'm working on MacOS X Snow Leopard and it compiles. I need to set the ARCHFLAGS environment variable first.

I'll work on those warnings, without any hurry... and let you know. If you like it, keep on tinkering with the code and if you get to compile it, please, let us know too.

All the best,
Jorge

#18 Updated by Jorge Daza Garcia-Blanes almost 6 years ago

Most of the warnings have been fixed.

#19 Updated by Jason Tyler almost 6 years ago

I did another test using OpenSUSE 11.4, and had exactly the same results as with Ubuntu 10.10 and 10.04 LTS. After running python setup.py build, the system errors out when it cannot find git_rev.h in the libdrqueue directory (That was copied under the python folder). After creating git_rev.h, the compile moves further, but still errors the same as Ubuntu.

jason@linux-htkj:~/drqueue/drqueue/src/python> ./setup.py build
('Platform is: ', 'linux2')
running build
running build_py
copying src/drqueue/base/__init__.py -> build/lib.linux-i686-2.7/drqueue/base
copying src/drqueue/base/libdrqueue.py -> build/lib.linux-i686-2.7/drqueue/base
copying src/drqueue/__init__.py -> build/lib.linux-i686-2.7/drqueue
copying src/drqueue/base/__init__.py -> build/lib.linux-i686-2.7/drqueue/base
copying src/drqueue/base/libdrqueue.py -> build/lib.linux-i686-2.7/drqueue/base
running build_ext
building 'drqueue.base._libdrqueue' extension
swigging src/drqueue/base/libdrqueue.i to src/drqueue/base/libdrqueue_wrap.c
swig -python -I/home/jason/drqueue/drqueue/src -I/home/jason/drqueue/drqueue/src/python/libdrqueue -D__LINUX -o src/drqueue/base/libdrqueue_wrap.c src/drqueue/base/libdrqueue.i
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fPIC -DCOMM_REPORT -D_GNU_SOURCE -D_NO_COMPUTER_POOL_SEMAPHORES -D_NO_COMPUTER_SEMAPHORES -D__LINUX -I/home/jason/drqueue/drqueue/src -I/home/jason/drqueue/drqueue/src/python/libdrqueue -I/usr/include/python2.7 -c src/drqueue/base/libdrqueue_wrap.c -o build/temp.linux-i686-2.7/src/drqueue/base/libdrqueue_wrap.o
gcc: : No such file or directory
In file included from /home/jason/drqueue/drqueue/src/python/libdrqueue/libdrqueue.h:46:0,
from src/drqueue/base/libdrqueue_wrap.c:2757:
/home/jason/drqueue/drqueue/src/python/libdrqueue/common.h:32:21: fatal error: git_rev.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
jason@linux-htkj:~/drqueue/drqueue/src/python> cd libdrqueue/
jason@linux-htkj:~/drqueue/drqueue/src/python/libdrqueue> vim git_rev.h
jason@linux-htkj:~/drqueue/drqueue/src/python/libdrqueue> cd ..
jason@linux-htkj:~/drqueue/drqueue/src/python> ./setup.py build
('Platform is: ', 'linux2')
running build
running build_py
copying src/drqueue/base/__init__.py -> build/lib.linux-i686-2.7/drqueue/base
copying src/drqueue/base/libdrqueue.py -> build/lib.linux-i686-2.7/drqueue/base
copying src/drqueue/__init__.py -> build/lib.linux-i686-2.7/drqueue
copying src/drqueue/base/__init__.py -> build/lib.linux-i686-2.7/drqueue/base
copying src/drqueue/base/libdrqueue.py -> build/lib.linux-i686-2.7/drqueue/base
running build_ext
building 'drqueue.base._libdrqueue' extension
swigging src/drqueue/base/libdrqueue.i to src/drqueue/base/libdrqueue_wrap.c
swig -python -I/home/jason/drqueue/drqueue/src -I/home/jason/drqueue/drqueue/src/python/libdrqueue -D__LINUX -o src/drqueue/base/libdrqueue_wrap.c src/drqueue/base/libdrqueue.i
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fPIC -DCOMM_REPORT -D_GNU_SOURCE -D_NO_COMPUTER_POOL_SEMAPHORES -D_NO_COMPUTER_SEMAPHORES -D__LINUX -I/home/jason/drqueue/drqueue/src -I/home/jason/drqueue/drqueue/src/python/libdrqueue -I/usr/include/python2.7 -c src/drqueue/base/libdrqueue_wrap.c -o build/temp.linux-i686-2.7/src/drqueue/base/libdrqueue_wrap.o
gcc: : No such file or directory
error: command 'gcc' failed with exit status 1
jason@linux-htkj:~/drqueue/drqueue/src/python>

Hope this helps, I'm going to try with Fedora to see if it does the same.

#20 Updated by Jason Tyler almost 6 years ago

Looks like the same thing on fedora 14.

[jason@fedora python]$ ./setup.py build
('Platform is: ', 'linux2')
running build
running build_py
copying src/drqueue/base/__init__.py -> build/lib.linux-i686-2.7/drqueue/base
copying src/drqueue/base/libdrqueue.py -> build/lib.linux-i686-2.7/drqueue/base
copying src/drqueue/__init__.py -> build/lib.linux-i686-2.7/drqueue
copying src/drqueue/base/__init__.py -> build/lib.linux-i686-2.7/drqueue/base
copying src/drqueue/base/libdrqueue.py -> build/lib.linux-i686-2.7/drqueue/base
running build_ext
building 'drqueue.base._libdrqueue' extension
swigging src/drqueue/base/libdrqueue.i to src/drqueue/base/libdrqueue_wrap.c
swig -python -I/home/jason/drqueue/drqueue/src -I/home/jason/drqueue/drqueue/src/python/libdrqueue -D__LINUX -o src/drqueue/base/libdrqueue_wrap.c src/drqueue/base/libdrqueue.i
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DCOMM_REPORT -D_GNU_SOURCE -D_NO_COMPUTER_POOL_SEMAPHORES -D_NO_COMPUTER_SEMAPHORES -D__LINUX -I/home/jason/drqueue/drqueue/src -I/home/jason/drqueue/drqueue/src/python/libdrqueue -I/usr/include/python2.7 -c src/drqueue/base/libdrqueue_wrap.c -o build/temp.linux-i686-2.7/src/drqueue/base/libdrqueue_wrap.o
gcc: : No such file or directory
In file included from /home/jason/drqueue/drqueue/src/python/libdrqueue/libdrqueue.h:46:0,
from src/drqueue/base/libdrqueue_wrap.c:2794:
/home/jason/drqueue/drqueue/src/python/libdrqueue/common.h:32:21: fatal error: git_rev.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
[jason@fedora python]$ cd libdrqueue/
[jason@fedora libdrqueue]$ vim git_rev.h
[jason@fedora libdrqueue]$ cd ..
[jason@fedora python]$ ./setup.py build
('Platform is: ', 'linux2')
running build
running build_py
copying src/drqueue/base/__init__.py -> build/lib.linux-i686-2.7/drqueue/base
copying src/drqueue/base/libdrqueue.py -> build/lib.linux-i686-2.7/drqueue/base
copying src/drqueue/__init__.py -> build/lib.linux-i686-2.7/drqueue
copying src/drqueue/base/__init__.py -> build/lib.linux-i686-2.7/drqueue/base
copying src/drqueue/base/libdrqueue.py -> build/lib.linux-i686-2.7/drqueue/base
running build_ext
building 'drqueue.base._libdrqueue' extension
swigging src/drqueue/base/libdrqueue.i to src/drqueue/base/libdrqueue_wrap.c
swig -python -I/home/jason/drqueue/drqueue/src -I/home/jason/drqueue/drqueue/src/python/libdrqueue -D__LINUX -o src/drqueue/base/libdrqueue_wrap.c src/drqueue/base/libdrqueue.i
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DCOMM_REPORT -D_GNU_SOURCE -D_NO_COMPUTER_POOL_SEMAPHORES -D_NO_COMPUTER_SEMAPHORES -D__LINUX -I/home/jason/drqueue/drqueue/src -I/home/jason/drqueue/drqueue/src/python/libdrqueue -I/usr/include/python2.7 -c src/drqueue/base/libdrqueue_wrap.c -o build/temp.linux-i686-2.7/src/drqueue/base/libdrqueue_wrap.o
gcc: : No such file or directory
error: command 'gcc' failed with exit status 1
[jason@fedora python]$

#21 Updated by Jorge Daza Garcia-Blanes almost 6 years ago

Check the script file attached.

It's my working output. There you might find a clue on why could it be failing on linux.

I don't have a linux vm to test, yet. I work on Mac OS X.

All the best,
Jorge

#22 Updated by Jason Tyler almost 6 years ago

I think it could have something to do with the architecture of the machine that I was trying to build it on. If I put it on a blank 64 bit new install of Ubuntu 10.04.2 LTS 64 Bit, I get a slightly different result:

root@NODE82:~/drqueue/drqueue/src/python# ARCHFLAGS="-arch i386 -arch x86_64" python setup.py build_ext
('Platform is: ', 'linux2')
running build_ext
building 'drqueue.base._libdrqueue' extension
swigging src/drqueue/base/libdrqueue.i to src/drqueue/base/libdrqueue_wrap.c
swig -python -I/root/drqueue/drqueue/src -I/root/drqueue/drqueue/src/python/libdrqueue -D__LINUX -o src/drqueue/base/libdrqueue_wrap.c src/drqueue/base/libdrqueue.i
creating build
creating build/temp.linux-x86_64-2.6
creating build/temp.linux-x86_64-2.6/src
creating build/temp.linux-x86_64-2.6/src/drqueue
creating build/temp.linux-x86_64-2.6/src/drqueue/base
creating build/temp.linux-x86_64-2.6/root
creating build/temp.linux-x86_64-2.6/root/drqueue
creating build/temp.linux-x86_64-2.6/root/drqueue/drqueue
creating build/temp.linux-x86_64-2.6/root/drqueue/drqueue/src
creating build/temp.linux-x86_64-2.6/root/drqueue/drqueue/src/python
creating build/temp.linux-x86_64-2.6/root/drqueue/drqueue/src/python/libdrqueue
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DCOMM_REPORT -D_GNU_SOURCE -D_NO_COMPUTER_POOL_SEMAPHORES -D_NO_COMPUTER_SEMAPHORES -D__LINUX -I/root/drqueue/drqueue/src -I/root/drqueue/drqueue/src/python/libdrqueue -I/usr/include/python2.6 -c src/drqueue/base/libdrqueue_wrap.c -o build/temp.linux-x86_64-2.6/src/drqueue/base/libdrqueue_wrap.o
gcc: : No such file or directory
In file included from /root/drqueue/drqueue/src/python/libdrqueue/libdrqueue.h:46,
from src/drqueue/base/libdrqueue_wrap.c:2757:
/root/drqueue/drqueue/src/python/libdrqueue/common.h:32:21: error: git_rev.h: No such file or directory
src/drqueue/base/libdrqueue_wrap.c:3151: warning: function declaration isnât a prototype
src/drqueue/base/libdrqueue_wrap.c:3467: warning: function declaration isnât a prototype
error: command 'gcc' failed with exit status 1
root@NODE82:~/drqueue/drqueue/src/python#

#23 Updated by Jorge Daza Garcia-Blanes almost 6 years ago

Hello Jason, the file "git_rev.h" is created by the SConstruct when you build DrQueue. Try out copying the libdrqueue directory to the python directory after having built DrQueue; that might be a workaround for the lack of the git_rev.h file in the raw sources. I'll try to find a solution for that little glitch... if that's the problem.

Also available in: Atom PDF