BLAG

BLAG Forums
It is currently Thu Dec 18, 2014 8:34 am

All times are UTC




Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Thu Jun 17, 2004 2:37 am 
Offline

Joined: Wed Jun 16, 2004 9:25 pm
Posts: 4
hey, I downloaded BLAG and LOVE IT!
I did a synaptic and updated from all the repositories. I then tried to compile a program. It didnt work. I then did apt-get update and apt-get install glibc-devel successfully. Then i rtried again. Didnt work. Any ideas? PLEASE PLEASE! IM LOVING BLAG SO FAR!!!

iloading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.

_________________
OLD COMPUTER ALERT!

Intel Celeron 368 mhz
128 Mb Cache
256 Mb RAM
8 Gb Fujitsu HD
1 Gb Fireball Swap Drive
Rage 128 Ultra Pro Video Card


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2004 2:44 am 
Offline
Site Admin

Joined: Sun Mar 14, 2004 6:08 pm
Posts: 973
Location: Canada
yeah i got the same error message when i was compiling something else...i forgot what i was trying to compile when that happened. i'll post it here when i remember though.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2004 2:55 am 
Offline

Joined: Wed Jun 16, 2004 9:25 pm
Posts: 4
Okay, I fixed it. just run

Code:
apt-get install gcc-c++


It should work

_________________
OLD COMPUTER ALERT!

Intel Celeron 368 mhz
128 Mb Cache
256 Mb RAM
8 Gb Fujitsu HD
1 Gb Fireball Swap Drive
Rage 128 Ultra Pro Video Card


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2004 6:35 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
You need the c++ compiler:

Code:
apt-get update
apt-get install gcc-c++


-Jeff


Top
 Profile  
 
 Post subject: re: gcc install
PostPosted: Tue Jun 22, 2004 1:47 am 
i ran:
apt-get update
apt-get install gcc-c++

i get:
E: Couldn't find package gcc-c

it seems the lose the "++" somewhere in the process.
i also tried it will quotes around the pakage, ie "gcc-c++"
i get the same result.
then i did:

apt-cache search gcc-c++ and apt-cache search gcc-c
both return nothing.

kevin
eleusa ( a t) gmx.net


Top
  
 
 Post subject:
PostPosted: Tue Jun 22, 2004 2:21 am 
Offline
Site Admin

Joined: Sun Mar 14, 2004 4:45 pm
Posts: 621
Location: London
It worked fine for me. You using 10000? Here is a copy of what went on in my terminal.

Code:
[jason@localhost jason]$ su
Password:
[root@localhost jason]# apt-get update
Get:1 http://www.blagblagblag.org 10000/i386 release [1105B]
Fetched 1105B in 0s (3012B/s)
Hit http://www.blagblagblag.org 10000/i386/os pkglist
Hit http://www.blagblagblag.org 10000/i386/os release
Hit http://www.blagblagblag.org 10000/i386/updates pkglist
Hit http://www.blagblagblag.org 10000/i386/updates release
Hit http://www.blagblagblag.org 10000/i386/errata pkglist
Hit http://www.blagblagblag.org 10000/i386/errata release
Hit http://www.blagblagblag.org 10000/i386/extras pkglist
Hit http://www.blagblagblag.org 10000/i386/extras release
Reading Package Lists... Done
Building Dependency Tree... Done
[root@localhost jason]# apt-get install gcc-c++
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libstdc++-devel
The following NEW packages will be installed:
  gcc-c++ libstdc++-devel
0 upgraded, 2 newly installed, 0 removed and 0 not upgraded.
Need to get 3346kB of archives.
After unpacking 11.4MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://www.blagblagblag.org 10000/i386/extras libstdc++-devel 3.3.2-1 [1330kB]
Get:2 http://www.blagblagblag.org 10000/i386/extras gcc-c++ 3.3.2-1 [2016kB]
Fetched 3346kB in 1m58s (28.3kB/s)
Committing changes...
Preparing...                ########################################### [100%]
   1:libstdc++-devel        ########################################### [ 50%]
   2:gcc-c++                ########################################### [100%]
Done.
[root@localhost jason]#


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 22, 2004 5:22 am 
Offline
Site Admin

Joined: Sun Mar 14, 2004 6:08 pm
Posts: 973
Location: Canada
if i want to install gcc, and my computer with a blag install doesn't have a net connection, where should i get things i'm looking for? so far this area is all i can come up with because i found GCC there. is that where i should get blag packages from?


Last edited by stevo32 on Tue Jun 22, 2004 4:39 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 22, 2004 5:51 am 
you can also get them from the GCC website

http://gcc.gnu.org/releases.html


Top
  
 
 Post subject:
PostPosted: Tue Jun 22, 2004 6:06 am 
is there a place were i can read upon apt-get and all the parameters of it... like is there a way to read the list of updates and packages


Top
  
 
 Post subject:
PostPosted: Tue Jun 22, 2004 4:38 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 6:08 pm
Posts: 973
Location: Canada
Anonymous wrote:
you can also get them from the GCC website

http://gcc.gnu.org/releases.html

i'm aware of that...its just i think it might be better to trust the ones on the blagblagblag site because they have most likely been tested.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 22, 2004 5:01 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
Unless you really really know what's up, I don't recommend getting GCC from the gnu site--It will be much more complicated.

You can read about apt-get by running:
Code:
man apt-get


In fact, you can run "man" in front of nearly every command to get more info.

If your BLAG box isn't connected to the net, egad! Connect it! ;) You won't be able to download using apt-get....


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 22, 2004 5:05 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 6:08 pm
Posts: 973
Location: Canada
well you see if i ever get that annoying wireless card working i'd get it connected to the net. so the link that i put in my previous post:

ftp://ftp.blagblagblag.org/pub/BLAG/lin ... 1.i386.rpm

would that be the right place for me to download it then rpm it?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 22, 2004 5:07 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
If you can get that rpm copied to you box, you can then just copy it /anywhere/ and while in the same directory as the file, run as root:

rpm -Uvh gcc-3.3.2-1.i386.rpm

You'll want to do the same with gcc-c++ and glibc-devel and whatever others you may need, depending on the application you are compiling.

-Jeff


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 22, 2004 5:12 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 6:08 pm
Posts: 973
Location: Canada
ok, thanks, i can take files to that box (i have a CD burner on my net connected box, its a plextor plexwriter premium :) ) thanks a ton i'll get my RPM's from there now (chasing around FC1 on rpmfind.net isn't exactly fun)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group