You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Tomas Lebovic (JIRA)" <ji...@apache.org> on 2007/04/27 09:39:34 UTC

[jira] Created: (AMQCPP-111) Unable to ./configure under Suse Linux 64 bit

Unable to ./configure under Suse Linux 64 bit
---------------------------------------------

                 Key: AMQCPP-111
                 URL: https://issues.apache.org/activemq/browse/AMQCPP-111
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: CMS Impl
    Affects Versions: 2.0
         Environment: Suse Linux 64 Bit
            Reporter: Tomas Lebovic
         Assigned To: Nathan Mittler


I ran ./autogen.sh which produced the following errors:
Makefile.am:21: directory should not contain `/'
src/examples/Makefile.am: installing `config/depcomp'
src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
Makefile.am:21: directory should not contain `/'
src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
autoreconf: automake failed with exit status: 1


But as i understand it these can be safely ignored so i went to the next step ./configure which dies with the following:
checking pthread.h presence... yes
checking for pthread.h... yes
checking for ioctl... yes
checking for select... yes
checking for gettimeofday... yes
checking for time... yes
checking for ftime... yes
checking for cppunit-config... /usr/local/bin/cppunit-config
checking for Cppunit - version >= 1.10.2... 1.12.0
checking for pthread_create in -lpthread... no
configure: error: libpthread not found!


I have used -lpthread in compilation of my programs so i know that library is present on the system. I am unsure how to circumvent this error any help would be greatly appreciated 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-111) Unable to ./configure under Suse Linux 64 bit

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39054 ] 

Timothy Bish commented on AMQCPP-111:
-------------------------------------

It sounds like you environment isn't configured so that libpthread can be found.  Where is your libpthread installed at?  Is it in your library config?



> Unable to ./configure under Suse Linux 64 bit
> ---------------------------------------------
>
>                 Key: AMQCPP-111
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-111
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.0
>         Environment: Suse Linux 64 Bit
>            Reporter: Tomas Lebovic
>         Assigned To: Nathan Mittler
>
> I ran ./autogen.sh which produced the following errors:
> Makefile.am:21: directory should not contain `/'
> src/examples/Makefile.am: installing `config/depcomp'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> Makefile.am:21: directory should not contain `/'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> autoreconf: automake failed with exit status: 1
> But as i understand it these can be safely ignored so i went to the next step ./configure which dies with the following:
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for ioctl... yes
> checking for select... yes
> checking for gettimeofday... yes
> checking for time... yes
> checking for ftime... yes
> checking for cppunit-config... /usr/local/bin/cppunit-config
> checking for Cppunit - version >= 1.10.2... 1.12.0
> checking for pthread_create in -lpthread... no
> configure: error: libpthread not found!
> I have used -lpthread in compilation of my programs so i know that library is present on the system. I am unsure how to circumvent this error any help would be greatly appreciated 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (AMQCPP-111) Unable to ./configure under Suse Linux 64 bit

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish closed AMQCPP-111.
-------------------------------

    Resolution: Fixed

Seems to be dead, reopen if new information is made available.

> Unable to ./configure under Suse Linux 64 bit
> ---------------------------------------------
>
>                 Key: AMQCPP-111
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-111
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.0
>         Environment: Suse Linux 64 Bit
>            Reporter: Tomas Lebovic
>            Assignee: Nathan Mittler
>             Fix For: 2.2
>
>
> I ran ./autogen.sh which produced the following errors:
> Makefile.am:21: directory should not contain `/'
> src/examples/Makefile.am: installing `config/depcomp'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> Makefile.am:21: directory should not contain `/'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> autoreconf: automake failed with exit status: 1
> But as i understand it these can be safely ignored so i went to the next step ./configure which dies with the following:
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for ioctl... yes
> checking for select... yes
> checking for gettimeofday... yes
> checking for time... yes
> checking for ftime... yes
> checking for cppunit-config... /usr/local/bin/cppunit-config
> checking for Cppunit - version >= 1.10.2... 1.12.0
> checking for pthread_create in -lpthread... no
> configure: error: libpthread not found!
> I have used -lpthread in compilation of my programs so i know that library is present on the system. I am unsure how to circumvent this error any help would be greatly appreciated 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-111) Unable to ./configure under Suse Linux 64 bit

Posted by "Tomas Lebovic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39059 ] 

Tomas Lebovic commented on AMQCPP-111:
--------------------------------------

Ok will see what i can do :) 

The version of automake:
automake (GNU automake) 1.8.3


> Unable to ./configure under Suse Linux 64 bit
> ---------------------------------------------
>
>                 Key: AMQCPP-111
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-111
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.0
>         Environment: Suse Linux 64 Bit
>            Reporter: Tomas Lebovic
>         Assigned To: Nathan Mittler
>
> I ran ./autogen.sh which produced the following errors:
> Makefile.am:21: directory should not contain `/'
> src/examples/Makefile.am: installing `config/depcomp'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> Makefile.am:21: directory should not contain `/'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> autoreconf: automake failed with exit status: 1
> But as i understand it these can be safely ignored so i went to the next step ./configure which dies with the following:
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for ioctl... yes
> checking for select... yes
> checking for gettimeofday... yes
> checking for time... yes
> checking for ftime... yes
> checking for cppunit-config... /usr/local/bin/cppunit-config
> checking for Cppunit - version >= 1.10.2... 1.12.0
> checking for pthread_create in -lpthread... no
> configure: error: libpthread not found!
> I have used -lpthread in compilation of my programs so i know that library is present on the system. I am unsure how to circumvent this error any help would be greatly appreciated 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-111) Unable to ./configure under Suse Linux 64 bit

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39255 ] 

Timothy Bish commented on AMQCPP-111:
-------------------------------------

Anyone with a SUSE 64 machine that can try out a build of the lib and see if they can repeat this there?  I can't find any machine where I get this type of error.

> Unable to ./configure under Suse Linux 64 bit
> ---------------------------------------------
>
>                 Key: AMQCPP-111
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-111
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.0
>         Environment: Suse Linux 64 Bit
>            Reporter: Tomas Lebovic
>            Assignee: Nathan Mittler
>             Fix For: 2.1
>
>
> I ran ./autogen.sh which produced the following errors:
> Makefile.am:21: directory should not contain `/'
> src/examples/Makefile.am: installing `config/depcomp'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> Makefile.am:21: directory should not contain `/'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> autoreconf: automake failed with exit status: 1
> But as i understand it these can be safely ignored so i went to the next step ./configure which dies with the following:
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for ioctl... yes
> checking for select... yes
> checking for gettimeofday... yes
> checking for time... yes
> checking for ftime... yes
> checking for cppunit-config... /usr/local/bin/cppunit-config
> checking for Cppunit - version >= 1.10.2... 1.12.0
> checking for pthread_create in -lpthread... no
> configure: error: libpthread not found!
> I have used -lpthread in compilation of my programs so i know that library is present on the system. I am unsure how to circumvent this error any help would be greatly appreciated 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-111) Unable to ./configure under Suse Linux 64 bit

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39060 ] 

Timothy Bish commented on AMQCPP-111:
-------------------------------------

We recommend these versions for the tools, you may want to try upgrading your autotools

Tool        Recommended Version
-------------------------------
autoconf    >= 2.59
automake    >= 1.9.6
libtool     >= 1.5.22


> Unable to ./configure under Suse Linux 64 bit
> ---------------------------------------------
>
>                 Key: AMQCPP-111
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-111
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.0
>         Environment: Suse Linux 64 Bit
>            Reporter: Tomas Lebovic
>         Assigned To: Nathan Mittler
>
> I ran ./autogen.sh which produced the following errors:
> Makefile.am:21: directory should not contain `/'
> src/examples/Makefile.am: installing `config/depcomp'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> Makefile.am:21: directory should not contain `/'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> autoreconf: automake failed with exit status: 1
> But as i understand it these can be safely ignored so i went to the next step ./configure which dies with the following:
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for ioctl... yes
> checking for select... yes
> checking for gettimeofday... yes
> checking for time... yes
> checking for ftime... yes
> checking for cppunit-config... /usr/local/bin/cppunit-config
> checking for Cppunit - version >= 1.10.2... 1.12.0
> checking for pthread_create in -lpthread... no
> configure: error: libpthread not found!
> I have used -lpthread in compilation of my programs so i know that library is present on the system. I am unsure how to circumvent this error any help would be greatly appreciated 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-111) Unable to ./configure under Suse Linux 64 bit

Posted by "Albert Strasheim (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39061 ] 

Albert Strasheim commented on AMQCPP-111:
-----------------------------------------

Look at the configure script and config.log to figure out how autoconf is trying to check for libpthread (search for "pthread" in these files). You could also check if the Suse equivalent of the glibc-devel package is installed.

> Unable to ./configure under Suse Linux 64 bit
> ---------------------------------------------
>
>                 Key: AMQCPP-111
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-111
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.0
>         Environment: Suse Linux 64 Bit
>            Reporter: Tomas Lebovic
>         Assigned To: Nathan Mittler
>
> I ran ./autogen.sh which produced the following errors:
> Makefile.am:21: directory should not contain `/'
> src/examples/Makefile.am: installing `config/depcomp'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> Makefile.am:21: directory should not contain `/'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> autoreconf: automake failed with exit status: 1
> But as i understand it these can be safely ignored so i went to the next step ./configure which dies with the following:
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for ioctl... yes
> checking for select... yes
> checking for gettimeofday... yes
> checking for time... yes
> checking for ftime... yes
> checking for cppunit-config... /usr/local/bin/cppunit-config
> checking for Cppunit - version >= 1.10.2... 1.12.0
> checking for pthread_create in -lpthread... no
> configure: error: libpthread not found!
> I have used -lpthread in compilation of my programs so i know that library is present on the system. I am unsure how to circumvent this error any help would be greatly appreciated 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-111) Unable to ./configure under Suse Linux 64 bit

Posted by "Tomas Lebovic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39064 ] 

Tomas Lebovic commented on AMQCPP-111:
--------------------------------------

Thanks for the tips ... I managed to get passed the initial configuration but now its failing in compile with the following:

if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -ansi -pedantic  -g -O2 -W -Wall -fstrict-aliasing -Wno-long-long -MT ActiveMQConsumer.o -MD -MP -MF ".deps/ActiveMQConsumer.Tpo" -c -o ActiveMQConsumer.o `test -f 'activemq/core/ActiveMQConsumer.cpp' || echo './'`activemq/core/ActiveMQConsumer.cpp; \
then mv -f ".deps/ActiveMQConsumer.Tpo" ".deps/ActiveMQConsumer.Po"; else rm -f ".deps/ActiveMQConsumer.Tpo"; exit 1; fi
activemq/core/ActiveMQConsumer.cpp:365: error: syntax error before `
   __attribute__'
activemq/core/ActiveMQConsumer.cpp:365: error: prototype for `void
   activemq::core::ActiveMQConsumer::afterMessageIsConsumed(...)' does not
   match any in class `activemq::core::ActiveMQConsumer'
activemq/core/ActiveMQConsumer.h:216: error: candidate is: virtual void
   activemq::core::ActiveMQConsumer::afterMessageIsConsumed(activemq::core::ActiveMQMessage*,
   bool)
activemq/core/ActiveMQConsumer.cpp: In member function `void
   activemq::core::ActiveMQConsumer::afterMessageIsConsumed(...)':
activemq/core/ActiveMQConsumer.cpp:377: error: `message' undeclared (first use
   this function)
activemq/core/ActiveMQConsumer.cpp:377: error: (Each undeclared identifier is
   reported only once for each function it appears in.)
activemq/core/ActiveMQConsumer.cpp:377: error: ISO C++ forbids declaration of `
   destroyMessage' with no type
activemq/core/ActiveMQConsumer.cpp:378: error: syntax error before `}' token
activemq/core/ActiveMQConsumer.cpp:386: error: extra qualification `
   activemq::core::ActiveMQConsumer::' on member `acknowledgeMessage' ignored
activemq/core/ActiveMQConsumer.cpp: In member function `virtual void
   activemq::core::ActiveMQConsumer::acknowledgeMessage(const
   activemq::core::ActiveMQMessage*)':
activemq/core/ActiveMQConsumer.cpp:407: error: extra qualification `
   activemq::core::ActiveMQConsumer::' on member `dispatch' ignored
activemq/core/ActiveMQConsumer.cpp: In member function `virtual void
   activemq::core::ActiveMQConsumer::dispatch(activemq::core::DispatchData&)':
activemq/core/ActiveMQConsumer.cpp:449: error: extra qualification `
   activemq::core::ActiveMQConsumer::' on member `purgeMessages' ignored
activemq/core/ActiveMQConsumer.cpp: In member function `virtual void
   activemq::core::ActiveMQConsumer::purgeMessages()':
activemq/core/ActiveMQConsumer.cpp:470: error: extra qualification `
   activemq::core::ActiveMQConsumer::' on member `destroyMessage' ignored
activemq/core/ActiveMQConsumer.cpp: In member function `virtual void
   activemq::core::ActiveMQConsumer::destroyMessage(activemq::core::ActiveMQMessage*)
   ':
activemq/core/ActiveMQConsumer.cpp:489: error: extra qualification `
   activemq::core::ActiveMQConsumer::' on member `onConnectorResourceClosed'
   ignored
make[2]: *** [ActiveMQConsumer.o] Error 1
make[2]: Leaving directory `/home/lebovic/activemq-cpp/activemq-cpp/src/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lebovic/activemq-cpp/activemq-cpp'
make: *** [all] Error 2

> Unable to ./configure under Suse Linux 64 bit
> ---------------------------------------------
>
>                 Key: AMQCPP-111
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-111
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.0
>         Environment: Suse Linux 64 Bit
>            Reporter: Tomas Lebovic
>         Assigned To: Nathan Mittler
>
> I ran ./autogen.sh which produced the following errors:
> Makefile.am:21: directory should not contain `/'
> src/examples/Makefile.am: installing `config/depcomp'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> Makefile.am:21: directory should not contain `/'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> autoreconf: automake failed with exit status: 1
> But as i understand it these can be safely ignored so i went to the next step ./configure which dies with the following:
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for ioctl... yes
> checking for select... yes
> checking for gettimeofday... yes
> checking for time... yes
> checking for ftime... yes
> checking for cppunit-config... /usr/local/bin/cppunit-config
> checking for Cppunit - version >= 1.10.2... 1.12.0
> checking for pthread_create in -lpthread... no
> configure: error: libpthread not found!
> I have used -lpthread in compilation of my programs so i know that library is present on the system. I am unsure how to circumvent this error any help would be greatly appreciated 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQCPP-111) Unable to ./configure under Suse Linux 64 bit

Posted by "Nathan Mittler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Mittler updated AMQCPP-111:
----------------------------------

    Fix Version/s:     (was: 2.2)
                   2.1.1

> Unable to ./configure under Suse Linux 64 bit
> ---------------------------------------------
>
>                 Key: AMQCPP-111
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-111
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.0
>         Environment: Suse Linux 64 Bit
>            Reporter: Tomas Lebovic
>            Assignee: Nathan Mittler
>             Fix For: 2.1.1
>
>
> I ran ./autogen.sh which produced the following errors:
> Makefile.am:21: directory should not contain `/'
> src/examples/Makefile.am: installing `config/depcomp'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> Makefile.am:21: directory should not contain `/'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> autoreconf: automake failed with exit status: 1
> But as i understand it these can be safely ignored so i went to the next step ./configure which dies with the following:
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for ioctl... yes
> checking for select... yes
> checking for gettimeofday... yes
> checking for time... yes
> checking for ftime... yes
> checking for cppunit-config... /usr/local/bin/cppunit-config
> checking for Cppunit - version >= 1.10.2... 1.12.0
> checking for pthread_create in -lpthread... no
> configure: error: libpthread not found!
> I have used -lpthread in compilation of my programs so i know that library is present on the system. I am unsure how to circumvent this error any help would be greatly appreciated 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-111) Unable to ./configure under Suse Linux 64 bit

Posted by "Tomas Lebovic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39057 ] 

Tomas Lebovic commented on AMQCPP-111:
--------------------------------------

>From what i can see on the system the libpthread is in /usr/lib and in /usr/lib64 and both of those paths are in my library config.

> Unable to ./configure under Suse Linux 64 bit
> ---------------------------------------------
>
>                 Key: AMQCPP-111
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-111
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.0
>         Environment: Suse Linux 64 Bit
>            Reporter: Tomas Lebovic
>         Assigned To: Nathan Mittler
>
> I ran ./autogen.sh which produced the following errors:
> Makefile.am:21: directory should not contain `/'
> src/examples/Makefile.am: installing `config/depcomp'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> Makefile.am:21: directory should not contain `/'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> autoreconf: automake failed with exit status: 1
> But as i understand it these can be safely ignored so i went to the next step ./configure which dies with the following:
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for ioctl... yes
> checking for select... yes
> checking for gettimeofday... yes
> checking for time... yes
> checking for ftime... yes
> checking for cppunit-config... /usr/local/bin/cppunit-config
> checking for Cppunit - version >= 1.10.2... 1.12.0
> checking for pthread_create in -lpthread... no
> configure: error: libpthread not found!
> I have used -lpthread in compilation of my programs so i know that library is present on the system. I am unsure how to circumvent this error any help would be greatly appreciated 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQCPP-111) Unable to ./configure under Suse Linux 64 bit

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish updated AMQCPP-111:
--------------------------------

    Fix Version/s:     (was: 2.1)
                   2.2

Moving this off to 2.2 since none of us has the resources to test this now.

> Unable to ./configure under Suse Linux 64 bit
> ---------------------------------------------
>
>                 Key: AMQCPP-111
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-111
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.0
>         Environment: Suse Linux 64 Bit
>            Reporter: Tomas Lebovic
>            Assignee: Nathan Mittler
>             Fix For: 2.2
>
>
> I ran ./autogen.sh which produced the following errors:
> Makefile.am:21: directory should not contain `/'
> src/examples/Makefile.am: installing `config/depcomp'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> Makefile.am:21: directory should not contain `/'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> autoreconf: automake failed with exit status: 1
> But as i understand it these can be safely ignored so i went to the next step ./configure which dies with the following:
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for ioctl... yes
> checking for select... yes
> checking for gettimeofday... yes
> checking for time... yes
> checking for ftime... yes
> checking for cppunit-config... /usr/local/bin/cppunit-config
> checking for Cppunit - version >= 1.10.2... 1.12.0
> checking for pthread_create in -lpthread... no
> configure: error: libpthread not found!
> I have used -lpthread in compilation of my programs so i know that library is present on the system. I am unsure how to circumvent this error any help would be greatly appreciated 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-111) Unable to ./configure under Suse Linux 64 bit

Posted by "Nathan Mittler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39058 ] 

Nathan Mittler commented on AMQCPP-111:
---------------------------------------

None of us are running on Suse so unfortunately, you're going to have to do most of the leg work on this one.  Patches are always welcome :) ... btw, what version of the automake tools do you have?

> Unable to ./configure under Suse Linux 64 bit
> ---------------------------------------------
>
>                 Key: AMQCPP-111
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-111
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.0
>         Environment: Suse Linux 64 Bit
>            Reporter: Tomas Lebovic
>         Assigned To: Nathan Mittler
>
> I ran ./autogen.sh which produced the following errors:
> Makefile.am:21: directory should not contain `/'
> src/examples/Makefile.am: installing `config/depcomp'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> Makefile.am:21: directory should not contain `/'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> autoreconf: automake failed with exit status: 1
> But as i understand it these can be safely ignored so i went to the next step ./configure which dies with the following:
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for ioctl... yes
> checking for select... yes
> checking for gettimeofday... yes
> checking for time... yes
> checking for ftime... yes
> checking for cppunit-config... /usr/local/bin/cppunit-config
> checking for Cppunit - version >= 1.10.2... 1.12.0
> checking for pthread_create in -lpthread... no
> configure: error: libpthread not found!
> I have used -lpthread in compilation of my programs so i know that library is present on the system. I am unsure how to circumvent this error any help would be greatly appreciated 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-111) Unable to ./configure under Suse Linux 64 bit

Posted by "Nathan Mittler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39836 ] 

Nathan Mittler commented on AMQCPP-111:
---------------------------------------

Just out of curiosity, what version of GCC are you using?  It looks like it's choking on setting the visibility attribute of the parameter, but that should not be compiled in unless you're using GCC >= 4.

> Unable to ./configure under Suse Linux 64 bit
> ---------------------------------------------
>
>                 Key: AMQCPP-111
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-111
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.0
>         Environment: Suse Linux 64 Bit
>            Reporter: Tomas Lebovic
>            Assignee: Nathan Mittler
>             Fix For: 2.2
>
>
> I ran ./autogen.sh which produced the following errors:
> Makefile.am:21: directory should not contain `/'
> src/examples/Makefile.am: installing `config/depcomp'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> Makefile.am:21: directory should not contain `/'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> autoreconf: automake failed with exit status: 1
> But as i understand it these can be safely ignored so i went to the next step ./configure which dies with the following:
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for ioctl... yes
> checking for select... yes
> checking for gettimeofday... yes
> checking for time... yes
> checking for ftime... yes
> checking for cppunit-config... /usr/local/bin/cppunit-config
> checking for Cppunit - version >= 1.10.2... 1.12.0
> checking for pthread_create in -lpthread... no
> configure: error: libpthread not found!
> I have used -lpthread in compilation of my programs so i know that library is present on the system. I am unsure how to circumvent this error any help would be greatly appreciated 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQCPP-111) Unable to ./configure under Suse Linux 64 bit

Posted by "Nathan Mittler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Mittler updated AMQCPP-111:
----------------------------------

    Fix Version/s: 2.1

> Unable to ./configure under Suse Linux 64 bit
> ---------------------------------------------
>
>                 Key: AMQCPP-111
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-111
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.0
>         Environment: Suse Linux 64 Bit
>            Reporter: Tomas Lebovic
>         Assigned To: Nathan Mittler
>             Fix For: 2.1
>
>
> I ran ./autogen.sh which produced the following errors:
> Makefile.am:21: directory should not contain `/'
> src/examples/Makefile.am: installing `config/depcomp'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> Makefile.am:21: directory should not contain `/'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> autoreconf: automake failed with exit status: 1
> But as i understand it these can be safely ignored so i went to the next step ./configure which dies with the following:
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for ioctl... yes
> checking for select... yes
> checking for gettimeofday... yes
> checking for time... yes
> checking for ftime... yes
> checking for cppunit-config... /usr/local/bin/cppunit-config
> checking for Cppunit - version >= 1.10.2... 1.12.0
> checking for pthread_create in -lpthread... no
> configure: error: libpthread not found!
> I have used -lpthread in compilation of my programs so i know that library is present on the system. I am unsure how to circumvent this error any help would be greatly appreciated 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.