0.24 Make Fails

Bug #845681 reported by Sammie S. Taunton
This bug report is a duplicate of:  Bug #815796: 0.24 make fails on 32-bit installs. Edit Remove
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Gearman
New
Undecided
Unassigned
Arch Linux
New
Undecided
Unassigned

Bug Description

I have two systems; 32 and 64 bit, both are setup exactly the same

On my 64 bit system the 0.24 source compiles just fine.

On my 32 bit system the 0.24 source errors on make
make[1]: *** [tests/gearman_execute_partition.o] Error 1
make[1]: Leaving directory `/usr/local/packages/gearman/src/gearmand-0.24'
make: *** [all] Error 2

I tested using my normal compile:
    ./configure \
    --prefix=/usr/local/gearman \
    --disable-64bit \
    --disable-libmemcached \
    --disable-libsqlite3 \
    --disable-libdrizzle \
    --disable-libpq \
    --disable-libtokyocabinet \
    --with-boost=/usr

I also retested using a simple ./configure and the same error occurs. The only difference between my ./configure on both system is that on the 32 bit system I add the --disable-64bit flag. I honestly cannot find any other errors.

My OS is Archlinux. I found some similar posts about the Boost libraries but those were concerning CentOS. But that doesn't explain why this same installation does work on my 64 bit system.

If there is anything further I can help provide please let me know and I'll get it to you.

Revision history for this message
kot.ereality (belov1985) wrote :
Revision history for this message
timuckun (timuckun) wrote :

I can confirm that .24 does not compile on 32 bit ubuntu. .23 does though.

Neither version recognizes the libdrizzle libraries installed in ubuntu.

Revision history for this message
timuckun (timuckun) wrote :

This is error in the make command.

. ./libgearman/parse.h
. ./tests/gearman_execute_partition.h
tests/gearman_execute_partition.cc: In function ‘test_return_t gearman_execute_partition_basic(void*)’:
tests/gearman_execute_partition.cc:109: error: no matching function for call to ‘_compare(const char [35], int, const char [32], long unsigned int, size_t)’
tests/gearman_execute_partition.cc: In function ‘test_return_t gearman_execute_partition_use_as_function(void*)’:
tests/gearman_execute_partition.cc:191: error: no matching function for call to ‘_compare(const char [35], int, const char [42], long unsigned int, size_t)’
Multiple include guards may be useful for:

..........

/usr/include/poll.h
make[1]: *** [tests/gearman_execute_partition.o] Error 1
make[1]: Leaving directory `/usr/src/gearmand-0.24'
make: *** [all] Error 2

Revision history for this message
Casey Flynn (casey-flynn) wrote :

I'm having the same experience with 32 bit Amazon Linux running on an AWS EC2 instance.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.