Re: problem compiling under slackware64

View: New views
9 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: problem compiling under slackware64

by kamszot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




kamszot wrote:
>
> hi,
>
> i have problem compiling rrdtool-1.3.8 under slackware64-13.0 (64bit):
>
>

so its impossible to use rrd on slackware64?
--
View this message in context: http://n2.nabble.com/problem-compiling-under-slackware64-tp3845467p3874177.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.

_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Re: problem compiling under slackware64

by William R. Lorenz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 22 Oct 2009, kamszot wrote:

> kamszot wrote:

>> i have problem compiling rrdtool-1.3.8 under slackware64-13.0 (64bit):

> so its impossible to use rrd on slackware64?


Could you be more descriptive of the exact problem you're experiencing?


--
William R. Lorenz

_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Re: problem compiling under slackware64

by kamszot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




William R. Lorenz wrote:
>
>
> Could you be more descriptive of the exact problem you're experiencing?
>
>

       
as you can see i cant run ./configure because there is a problem with 64bit
environment.
--
View this message in context: http://n2.nabble.com/problem-compiling-under-slackware64-tp3845467p3880540.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.

_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Re: problem compiling under slackware64

by Benny Baumann-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Am 23.10.2009 20:42, schrieb kamszot:
> William R. Lorenz wrote:
>  
>> Could you be more descriptive of the exact problem you're experiencing?
>>    
> as you can see i cant run ./configure because there is a problem with 64bit
> environment.
>  
Well, then ... How about posting some relevant passages of the
./configure log? Providing information about the dependant libraries
installed? Giving the configure command line you used?

Oh, and not to mention providing at least the information of uname -a ;-)



_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

signature.asc (850 bytes) Download Attachment

Re: problem compiling under slackware64

by DGOBRIEN :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Somehow the OP's initial post didn't make it to the list.. at least I never received it

I followed the link in the signature and the entire thing is there.
Guess nabble doesn't play right.


-----Original Message-----
From: rrd-users-bounces@... [mailto:rrd-users-bounces@...] On Behalf Of Benny Baumann
Sent: Friday, October 23, 2009 14:44
To: rrd-users@...
Subject: Re: [rrd-users] problem compiling under slackware64

Hi,

Am 23.10.2009 20:42, schrieb kamszot:
> William R. Lorenz wrote:
>  
>> Could you be more descriptive of the exact problem you're experiencing?
>>    
> as you can see i cant run ./configure because there is a problem with
> 64bit environment.
>  
Well, then ... How about posting some relevant passages of the ./configure log? Providing information about the dependant libraries installed? Giving the configure command line you used?

Oh, and not to mention providing at least the information of uname -a ;-)

_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Re: problem compiling under slackware64

by kamszot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




David OBrien-4 wrote:

>
> Somehow the OP's initial post didn't make it to the list.. at least I
> never received it
>
> I followed the link in the signature and the entire thing is there.
> Guess nabble doesn't play right.
>
> Well, then ... How about posting some relevant passages of the ./configure
> log? Providing information about the dependant libraries installed? Giving
> the configure command line you used?
>
> Oh, and not to mention providing at least the information of uname -a ;-)
>
>
>
>

uname -a:
Linux 83.238.43.42 2.6.30.8-x2-0 #1 SMP Sun Oct 11 21:33:27 CEST 2009 x86_64
AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux

my first post:

hi,

i have problem compiling rrdtool-1.3.8 under slackware64-13.0 (64bit):

root@rtr:/usr/src/rrdtool-1.3.8# ./configure --prefix=/usr/local/rrdtool
--localstatedir=/var --sysconfdir=/etc --enable-perl-site-install
--enable-ruby-site-install
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no

Audit Compilation Environment
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/usr/src/rrdtool-1.3.8':
configure: error: C compiler cannot create executables
See `config.log' for more details.



config.log ends with:

(...)
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='unknown'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "rrdtool"
#define PACKAGE_TARNAME "rrdtool"
#define PACKAGE_VERSION "1.3.8"
#define PACKAGE_STRING "rrdtool 1.3.8"
#define PACKAGE_BUGREPORT ""
#define PACKAGE "rrdtool"
#define VERSION "1.3.8"
#define RRDGRAPH_YLEGEND_ANGLE 90.0

configure: exit 77


--
View this message in context: http://n2.nabble.com/problem-compiling-under-slackware64-tp3845467p3880580.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.

_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Re: problem compiling under slackware64

by DGOBRIEN :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The main error is that ...
        checking for C compiler default output file name...
        configure: error: in `/usr/src/rrdtool-1.3.8':
        configure: error: C compiler cannot create executables

You don't have a C++ compiler on there. You need to install the gcc-c++ package or the Slackware equivalent



-----Original Message-----
From: rrd-users-bounces@... [mailto:rrd-users-bounces@...] On Behalf Of kamszot
Sent: Friday, October 23, 2009 14:51
To: rrd-users@...
Subject: Re: [rrd-users] problem compiling under slackware64




David OBrien-4 wrote:

>
> Somehow the OP's initial post didn't make it to the list.. at least I
> never received it
>
> I followed the link in the signature and the entire thing is there.
> Guess nabble doesn't play right.
>
> Well, then ... How about posting some relevant passages of the ./configure
> log? Providing information about the dependant libraries installed? Giving
> the configure command line you used?
>
> Oh, and not to mention providing at least the information of uname -a ;-)
>
>
>
>

uname -a:
Linux 83.238.43.42 2.6.30.8-x2-0 #1 SMP Sun Oct 11 21:33:27 CEST 2009 x86_64
AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux

my first post:

hi,

i have problem compiling rrdtool-1.3.8 under slackware64-13.0 (64bit):

root@rtr:/usr/src/rrdtool-1.3.8# ./configure --prefix=/usr/local/rrdtool
--localstatedir=/var --sysconfdir=/etc --enable-perl-site-install
--enable-ruby-site-install
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no

Audit Compilation Environment
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/usr/src/rrdtool-1.3.8':
configure: error: C compiler cannot create executables
See `config.log' for more details.



config.log ends with:

(...)
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='unknown'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "rrdtool"
#define PACKAGE_TARNAME "rrdtool"
#define PACKAGE_VERSION "1.3.8"
#define PACKAGE_STRING "rrdtool 1.3.8"
#define PACKAGE_BUGREPORT ""
#define PACKAGE "rrdtool"
#define VERSION "1.3.8"
#define RRDGRAPH_YLEGEND_ANGLE 90.0

configure: exit 77


--
View this message in context: http://n2.nabble.com/problem-compiling-under-slackware64-tp3845467p3880580.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.

_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Re: problem compiling under slackware64

by kamszot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




David OBrien-4 wrote:

>
> The main error is that ...
> checking for C compiler default output file name...
> configure: error: in `/usr/src/rrdtool-1.3.8':
> configure: error: C compiler cannot create executables
>
> You don't have a C++ compiler on there. You need to install the gcc-c++
> package or the Slackware equivalent
>
>

i already have gcc:


root@83:/usr/src/upgrade# ls /var/log/packages/ | grep gcc
gcc-4.3.3-x86_64-4
gcc-g++-4.3.3-x86_64-4
gcc-gfortran-4.3.3-x86_64-4
gcc-gnat-4.3.3-x86_64-4
gcc-objc-4.3.3-x86_64-4
root@83:/usr/src/upgrade# head -16 /var/log/packages/gcc-g++-4.3.3-x86_64-4
PACKAGE NAME:     gcc-g++-4.3.3-x86_64-4
COMPRESSED PACKAGE SIZE:     4428K
UNCOMPRESSED PACKAGE SIZE:     27840K
PACKAGE LOCATION: /var/log/mount/slackware64/d/gcc-g++-4.3.3-x86_64-4.txz
PACKAGE DESCRIPTION:
gcc-g++: gcc-g++ (C++ for GCC)
gcc-g++:
gcc-g++: C++ support for the GNU Compiler Collection.
gcc-g++:
gcc-g++: This package contains those parts of the compiler collection needed
to
gcc-g++: compile C++ code.  The base gcc package is also required.
gcc-g++:


there is no problem with compiling something else (like apache, mysql, php)
--
View this message in context: http://n2.nabble.com/problem-compiling-under-slackware64-tp3845467p3880653.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.

_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Re: problem compiling under slackware64

by Marc MERLIN-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Oct 23, 2009 at 12:02:40PM -0700, kamszot wrote:

>
>
>
> David OBrien-4 wrote:
> >
> > The main error is that ...
> > checking for C compiler default output file name...
> > configure: error: in `/usr/src/rrdtool-1.3.8':
> > configure: error: C compiler cannot create executables
> >
> > You don't have a C++ compiler on there. You need to install the gcc-c++
> > package or the Slackware equivalent
> >
> >
>
> i already have gcc:
>
>
> root@83:/usr/src/upgrade# ls /var/log/packages/ | grep gcc
> gcc-4.3.3-x86_64-4
> gcc-g++-4.3.3-x86_64-4
> gcc-gfortran-4.3.3-x86_64-4
> gcc-gnat-4.3.3-x86_64-4
> gcc-objc-4.3.3-x86_64-4
> root@83:/usr/src/upgrade# head -16 /var/log/packages/gcc-g++-4.3.3-x86_64-4
> PACKAGE NAME:     gcc-g++-4.3.3-x86_64-4
> COMPRESSED PACKAGE SIZE:     4428K
> UNCOMPRESSED PACKAGE SIZE:     27840K
> PACKAGE LOCATION: /var/log/mount/slackware64/d/gcc-g++-4.3.3-x86_64-4.txz
> PACKAGE DESCRIPTION:
> gcc-g++: gcc-g++ (C++ for GCC)
> gcc-g++:
> gcc-g++: C++ support for the GNU Compiler Collection.
> gcc-g++:
> gcc-g++: This package contains those parts of the compiler collection needed
> to
> gcc-g++: compile C++ code.  The base gcc package is also required.
> gcc-g++:
>
>
> there is no problem with compiling something else (like apache, mysql, php)

Those are C, not C++.
It is still likely that your g++ install isn't working.
See configure.log for the commands run and see if you can compile a C++
executable.

Also, make sure slackware doesn't do something stupid like calling the
executable gcc-g++ as opposed to just 'g++'
But more generally try to compile some hello world with g++

Also, on a personal note, slackware is not exactly a very polished works out
of the box distribution. I used it up to 1995 and it has evolved very little
in the last 14 years.
If you aren't comfortable debugging/fixing compilation problems like these,
I personally recommend you try another distribution, like ubuntu or other.

Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ 

_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users