Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Another Linux mandrake question!

Thread Tools
 
Search this Thread
 
Old 20 March 2003, 05:11 PM
  #1  
gregh
Scooby Regular
Thread Starter
 
gregh's Avatar
 
Join Date: Dec 1999
Posts: 3,360
Likes: 0
Received 0 Likes on 0 Posts
Post

I'm trying to install the c compiler into a Mandrake 9.1 beta fresh build. I get an error saying: Conflicts were detected: gcc-cpp = 3.2.2-2mdk is needed by gcc-3.2.2-2mdk install aborted. However gcc-cpp is already installed.
any ideas?

cheers,

greg
Old 20 March 2003, 07:44 PM
  #2  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Post

Which version of gcc-cpp is installed? rpm can tell you.

Steve.
Old 20 March 2003, 08:21 PM
  #3  
gregh
Scooby Regular
Thread Starter
 
gregh's Avatar
 
Join Date: Dec 1999
Posts: 3,360
Likes: 0
Received 0 Likes on 0 Posts
Post

v 3.2.2-3mdk
Old 20 March 2003, 08:32 PM
  #4  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Post

Don't really know. Try uninstalling and reinstalling, you shouldn't have to do that though, I prefer not to use rpms personally.

Steve.
Old 20 March 2003, 11:08 PM
  #5  
orbv
Scooby Regular
 
orbv's Avatar
 
Join Date: Apr 2001
Location: Hants
Posts: 1,103
Likes: 0
Received 0 Likes on 0 Posts
Post

Both gcc-cpp and gcc must be the same version to work correctly so expect as your gcc-cpp (c++) version is newer than the gcc (c) you are trying to install you are getting these problems. Either get a copy of gcc-3.2.2-3mdk or run rpm with the --nodeps option.
Old 21 March 2003, 08:02 AM
  #6  
gregh
Scooby Regular
Thread Starter
 
gregh's Avatar
 
Join Date: Dec 1999
Posts: 3,360
Likes: 0
Received 0 Likes on 0 Posts
Post

>> Either get a copy of gcc-3.2.2-3mdk

that's what I'm trying to install!!

can I run rpm -nodeps from a command line then?

cheers,
greg
Old 21 March 2003, 08:43 AM
  #7  
michael_clarkson
Scooby Regular
 
michael_clarkson's Avatar
 
Join Date: Jan 2001
Posts: 253
Likes: 0
Received 0 Likes on 0 Posts
Post



>>can I run rpm -nodeps from a command line then?

LAF, spot the windows user :-)

Yes you can run rpm from the cmdline with the --nodeps option
rpm -Uvh --nodeps <pkgname>

try taking alook at the man page.


Trending Topics

Old 21 March 2003, 09:24 AM
  #8  
orbv
Scooby Regular
 
orbv's Avatar
 
Join Date: Apr 2001
Location: Hants
Posts: 1,103
Likes: 0
Received 0 Likes on 0 Posts
Post

>> Either get a copy of gcc-3.2.2-3mdk ...........

that's what I'm trying to install!
Your original text reports your trying to install gcc-3.2.2-2mdk and not gcc-3.2.2-3mdk.

Edited to remove nested quotes as bbs software cant take it.


[Edited by orbv - 3/21/2003 9:26:55 AM]
Old 21 March 2003, 01:22 PM
  #9  
gregh
Scooby Regular
Thread Starter
 
gregh's Avatar
 
Join Date: Dec 1999
Posts: 3,360
Likes: 0
Received 0 Likes on 0 Posts
Post

cheers all.

Kind of related question, but are there scripts that I can run from the command line in order to setup networking and the hostname? Many moons ago I used to run netsetup or somesuch on Ultrix.

cheers,

Greg
Old 21 March 2003, 03:04 PM
  #10  
Andrewza
Scooby Regular
 
Andrewza's Avatar
 
Join Date: Jan 2002
Posts: 667
Likes: 0
Received 0 Likes on 0 Posts
Post

doesn't mandrake use YAST (yet another setup tool) for that sort of thing? haven't used it in a while mind...
Old 21 March 2003, 05:20 PM
  #11  
michael_clarkson
Scooby Regular
 
michael_clarkson's Avatar
 
Join Date: Jan 2001
Posts: 253
Likes: 0
Received 0 Likes on 0 Posts
Post

YAST is the installation tool for SUSE Linux, I believe Mandrake provide several tools called *drak*. Take a look in /usr/bin or /usr/sbin

[Edited by michael_clarkson - 3/21/2003 5:33:07 PM]
Old 21 March 2003, 05:23 PM
  #12  
gregh
Scooby Regular
Thread Starter
 
gregh's Avatar
 
Join Date: Dec 1999
Posts: 3,360
Likes: 0
Received 0 Likes on 0 Posts
Post

yup drakconfig seems to do the trick.

Now my network appears to get an IP address from my DHCP server, and can ping the router, but can't see past the router!

anyone any ideas?

greg
Old 21 March 2003, 05:25 PM
  #13  
HHxx
Scooby Regular
 
HHxx's Avatar
 
Join Date: Nov 2001
Posts: 2,576
Likes: 0
Received 0 Likes on 0 Posts
Question

Did you set a default gateway?
Old 21 March 2003, 05:34 PM
  #14  
gregh
Scooby Regular
Thread Starter
 
gregh's Avatar
 
Join Date: Dec 1999
Posts: 3,360
Likes: 0
Received 0 Likes on 0 Posts
Post

netstat -r has

Destination Gateway Genmark Flags
192.168.1.0 * 255.255.255.0 U
169.254.0.0 * 255.255.0.0 U
127.0.0.0 * 255.0.0.0 U
default 192.168.1.1 0.0.0.0 UG
Old 21 March 2003, 05:38 PM
  #15  
michael_clarkson
Scooby Regular
 
michael_clarkson's Avatar
 
Join Date: Jan 2001
Posts: 253
Likes: 0
Received 0 Likes on 0 Posts
Post

Your DHCP server should be supplying the deafult gateway,subnet, DNS servers etc etc.

Can you see the correct router/gateway if you look at the routing table using "route"

Whats your router and how are you trying to see past it, it may be set to drop ICMP requests.

[Edited by michael_clarkson - 3/21/2003 5:43:36 PM]
Old 21 March 2003, 05:58 PM
  #16  
gregh
Scooby Regular
Thread Starter
 
gregh's Avatar
 
Join Date: Dec 1999
Posts: 3,360
Likes: 0
Received 0 Likes on 0 Posts
Post

The router is 192.168.1.1, the route command shows the same table as above that netstat -r shows

the router is a draytek, which is working fine on windows. My windows info is as follows. Is there something similiar to ipconfig under Linux that will show me what it thinks the gateway, dns servers etc are?


Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/100 P Mobile Co
ter
Physical Address. . . . . . . . . : 00-D0-59-C5-9E-93
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.10
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
192.168.1.1
Lease Obtained. . . . . . . . . . : 20 March 2003 19:57:44
Lease Expires . . . . . . . . . . : 23 March 2003 19:57:44

cheers,

greg
Old 21 March 2003, 06:57 PM
  #17  
michael_clarkson
Scooby Regular
 
michael_clarkson's Avatar
 
Join Date: Jan 2001
Posts: 253
Likes: 0
Received 0 Likes on 0 Posts
Post

Greg,

You'll have to use a combination of "ifconfig" which will show you IP related information show as IP Address, Subnet Mask etc.

And as you've already discovered "netstat" or "route" to show your routing information.

You could try using "nslookup" or "dig" to check you DNS config or just take a look at /etc/resolv.conf.

You might also have traceroute installed and most probably tcpdump - both valuable tools to help you troubleshoot.

HTH

Michael
Old 21 March 2003, 08:09 PM
  #18  
gregh
Scooby Regular
Thread Starter
 
gregh's Avatar
 
Join Date: Dec 1999
Posts: 3,360
Likes: 0
Received 0 Likes on 0 Posts
Post

I'm up!

added to /etc/sysconfig/network

GATEWAY="192.168.1.1"
GATEWAYDEV="eth0"

and added

nameserver 192.168.1.1

to /etc/resolv.conf

thanks all!

greg
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
slimwiltaz
General Technical
20
09 October 2015 07:40 PM
IanG1983
Wheels, Tyres & Brakes
2
06 October 2015 03:08 PM
Brzoza
Engine Management and ECU Remapping
1
02 October 2015 05:26 PM
the shreksta
Other Marques
26
01 October 2015 02:30 PM



Quick Reply: Another Linux mandrake question!



All times are GMT +1. The time now is 01:04 PM.