Re: [newbie] newbie trouble with installing a program

2003-10-11 Thread Merlin Zener
On Fri, 2003-10-10 at 17:35, ed tharp wrote:
 On Fri, 2003-10-10 at 04:21, Merlin Zener wrote:
  On Thu, 2003-10-09 at 08:22, Greg Meyer wrote:
   On Wednesday 08 October 2003 06:41 pm, Merlin Zener wrote:
I'm guessing I'm probably missing something obvious and basic here, but
   
   There is a prebuilt package for dia in the Mandrake distribution.  Just use 
   rpmdrake or urpmi from the command line to install it.
   
   # urpmi dia
   installing /mnt/dist/9.1/i586/Mandrake/RPMS/dia-0.90-5mdk.i586.rpm
   
   Preparing...##
  1:dia##
   
  
  I tried that, but it just hangs.
  ctrl-z, ctrl-c, q, exit, nothing seems to bring it back to life. I
  have to shut down the terminal window and log back in again.
 wait 30 mins, and see if you don't have some further info on screen, and
 the problem will be gone, and the software installed
 

Hi Ed,
thanks for your reply.

weird - I just tried it again, and immediately I got:

[EMAIL PROTECTED] merlin]# urpmi dia
everything already installed
[EMAIL PROTECTED] merlin]#

yet I can't find it in the start menu or on the desktop.
Trying to start it from within the terminal gets this:

[EMAIL PROTECTED] merlin]$ dia-0.91
bash: dia-0.91: command not found
[EMAIL PROTECTED] merlin]$ cd dia-0.91
[EMAIL PROTECTED] dia-0.91]$ dia-0.91
bash: dia-0.91: command not found
[EMAIL PROTECTED] dia-0.91]$

I wonder, would it have installed itself somewhere else, and maybe I
have to start it from there???

--
Merlin Zener
Piano, Synthesizer
Thailand.

registered Linux user number 328618


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] newbie trouble with installing a program

2003-10-11 Thread John Richard Smith
Merlin Zener wrote:

On Fri, 2003-10-10 at 17:35, ed tharp wrote:
 

On Fri, 2003-10-10 at 04:21, Merlin Zener wrote:
   

On Thu, 2003-10-09 at 08:22, Greg Meyer wrote:
 

On Wednesday 08 October 2003 06:41 pm, Merlin Zener wrote:
   

I'm guessing I'm probably missing something obvious and basic here, but
 

There is a prebuilt package for dia in the Mandrake distribution.  Just use 
rpmdrake or urpmi from the command line to install it.

# urpmi dia
installing /mnt/dist/9.1/i586/Mandrake/RPMS/dia-0.90-5mdk.i586.rpm
Preparing...##
  1:dia##
   

I tried that, but it just hangs.
ctrl-z, ctrl-c, q, exit, nothing seems to bring it back to life. I
have to shut down the terminal window and log back in again.
 

wait 30 mins, and see if you don't have some further info on screen, and
the problem will be gone, and the software installed
   

Hi Ed,
thanks for your reply.
weird - I just tried it again, and immediately I got:

[EMAIL PROTECTED] merlin]# urpmi dia
everything already installed
[EMAIL PROTECTED] merlin]#
yet I can't find it in the start menu or on the desktop.
Trying to start it from within the terminal gets this:
[EMAIL PROTECTED] merlin]$ dia-0.91
bash: dia-0.91: command not found
[EMAIL PROTECTED] merlin]$ cd dia-0.91
[EMAIL PROTECTED] dia-0.91]$ dia-0.91
bash: dia-0.91: command not found
[EMAIL PROTECTED] dia-0.91]$
You only need to type dia, like this,

I wonder, would it have installed itself somewhere else, and maybe I
have to start it from there???
--
Merlin Zener
Piano, Synthesizer
Thailand.
registered Linux user number 328618
 

[EMAIL PROTECTED] root]# dia

and up she comes.

as for start menu entry,
go to,
MCC-System-Menudrake
and add an entry in Kstartmenu,

or call menudrake like this,
[EMAIL PROTECTED] root]# menudrake
best to make entries in menudrake for system wide use as root.

John

--
John Richard Smith
[EMAIL PROTECTED] 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] newbie trouble with installing a program

2003-10-11 Thread Derek Jennings
On Saturday 11 Oct 2003 10:23 am, Merlin Zener wrote:
SNIP


 Thanks again for the information, Derek.
 it brings up a couple of interesting points:
 first, I only have two CDs; I got them with APC magazine in Australia.

 Anyway, you're right I looked in Konquerer and dia-0.90 *is* on CD2 - so
 this brings up the next puzzle: Why didn't find find it? I just tried
 it again with the same result - I clicked the K button, what to do,
 then find files. Then typed dia [without quotes, of course] in the
 named box, and browsed to /mnt/cdrom. Find then returns 0 files
 found. Curious...

 btw the only reason I didn't go ahead and double click on it in
 Konquerer right then was because it's ver0.90, and I've downloaded 0.91.
 If I don't have any luck with getting 0.91 working then this will be the
 fallback.

 So, the next step:

 [EMAIL PROTECTED] merlin]# urpmi.addmedia --distrib cdrom
 removable:///mnt/cdrom
 using different removable device [/dev/scd0] for Installation CD 1
 (x86) (cdrom1)
 using different removable device [/dev/scd0] for Installation CD 2
 (x86) (cdrom2)
 copying hdlists file...
 ...copying done
 medium Installation CD 1 (x86) (cdrom1) already exists
 [EMAIL PROTECTED] merlin]#

 yet, rpmdrake still doesn't acknowledge that dia exists. Strange...

Now we are getting to the root of your problem.

Since you installed your system you have changed your CD-ROM to scsi, without 
having updated your urpmi sources. Hence the messages about using a different 
device.

Now the reason you cannot find dia in the software list is because it is 
already installed. (as you mentioned in your mail to Bryan)  If you look in 
the *un*install GUI you will find it.

You were unable to start dia from the terminal because you used the wrong 
command. You entered 'dia-0.90' when the command to start dia is just 'dia'.

Now as for dia not being in your menu. 
I have checked the dia RPM and it puts a menu entry in OfficeGraphs

If it is not there run menudrake as your user and make sure your MenuStyle is 
set to 'System Menu'  exit menudrake then in a user terminal enter
update-menus
That will remake your menus for you.

derek


-- 
--
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] newbie trouble with installing a program

2003-10-11 Thread C. Tresenriter
On Fri, 10 Oct 2003 10:00:11 +0100
DJ wrote:

IF I can jump in here
I'm trying to add my CDROMs (powerpack 9.1) to the software sources 


|To do that  from Mandrake Control CentreSoftwareSoftware Source
|Manager select all the entries for your CDs and delete them. Close the
|GUI
|
|Insert CD1 into your CD drive  (which I assume is /mnt/cdrom)
|
|Now open a terminal. Enter su to become root user
|urpmi.addmedia --distrib cdrom removable:///mnt/cdrom


Should there be three /s there?

In either case (one or two /s) I get:
unable to access first installation medium

I did enable scsi emulation and changed /etc/fstab to reflect /dev/scd1
mounted at /mnt/cdrom
Is there something else I need to change?


|That will automatically insert all 3 CDs into the list of sources and
|you should then be able to use rpmdrake to install dia and lots of
|other applications.

Is there another command to add Cds 4,5,6, 7?

Thanks,
Curt



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] newbie trouble with installing a program

2003-10-11 Thread H.J.Bathoorn
On Saturday 11 October 2003 16:47, C. Tresenriter wrote:
 On Fri, 10 Oct 2003 10:00:11 +0100
 DJ wrote:

 IF I can jump in here
 I'm trying to add my CDROMs (powerpack 9.1) to the software sources

 |To do that  from Mandrake Control CentreSoftwareSoftware Source
 |Manager select all the entries for your CDs and delete them. Close the
 |GUI
 |
 |Insert CD1 into your CD drive  (which I assume is /mnt/cdrom)
 |
 |Now open a terminal. Enter su to become root user
 |urpmi.addmedia --distrib cdrom removable:///mnt/cdrom

   Should there be three /s there?

   In either case (one or two /s) I get:
   unable to access first installation medium

   I did enable scsi emulation and changed /etc/fstab to reflect /dev/scd1
 mounted at /mnt/cdrom
   Is there something else I need to change?

 |That will automatically insert all 3 CDs into the list of sources and
 |you should then be able to use rpmdrake to install dia and lots of
 |other applications.

   Is there another command to add Cds 4,5,6, 7?

 Thanks,
 Curt
You have to specify the RPMSx directory (where x is the number i.e. 
removable://mnt/mnt/cdrom/Mandrake/RPMSx with ../synthesishdlist.cz

good luck,
HarM
-- 
Mandrake HowTo's  more: http://twiki.mdklinuxfaq.org



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] newbie trouble with installing a program

2003-10-11 Thread C. Tresenriter
On Sat, 11 Oct 2003 17:14:47 +0200
HJB wrote:


|You have to specify the RPMSx directory (where x is the number i.e. 
|removable://mnt/mnt/cdrom/Mandrake/RPMSx with ../synthesishdlist.cz
|
|good luck,
|HarM

Ahhh... Thanks HarM! good to know.

curt

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] newbie trouble with installing a program

2003-10-10 Thread Merlin Zener
On Thu, 2003-10-09 at 06:32, julian wrote: 
 [...snip]
thanks for the explanations, Julian. 
picking up the process where the trouble starts: 

 
 ./configure   
 (this prepares for the actual build. It may fail if you don't have the
 particular software development packages that it needs installed. If
 this happens you need to install those packages and run ./configure
 again)
 
Here's what I got: 

[EMAIL PROTECTED] dia-0.91]$ ./configure 
checking for a BSD-compatible install... /usr//bin/install -c 
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... found 
checking for gcc... no 
checking for cc... no 
checking for cc... no 
checking for cl... no 
configure: error: no acceptable C compiler found in $PATH 
See `config.log' for more details. 
[EMAIL PROTECTED] dia-0.91]$ 


so now I need to go through and install each of those 5 lines with the
word working in them?
What about the gcc, cc and cl - are they programs I have to
install too?

And those last 2 lines make me wonder too: does Mandrake come with a C
compiler already installed? I had a look in config.log but as far as I
can see it only has some entries about LICQ, nothing about dia-0.91.
Should I post it here?

--
Merlin Zener
Piano, Synthesizer
Thailand.

registered Linux user number 328618


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] newbie trouble with installing a program

2003-10-10 Thread stormjumper
- Original Message - 
From: Merlin Zener [EMAIL PROTECTED]
Subject: Re: [newbie] newbie trouble with installing a program


 On Thu, 2003-10-09 at 06:32, julian wrote:
  [...snip]
 thanks for the explanations, Julian.
 picking up the process where the trouble starts:

 
  ./configure
  (this prepares for the actual build. It may fail if you don't have the
  particular software development packages that it needs installed. If
  this happens you need to install those packages and run ./configure
  again)
 
 Here's what I got:

 [EMAIL PROTECTED] dia-0.91]$ ./configure
 checking for a BSD-compatible install... /usr//bin/install -c
 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... found
 checking for gcc... no
 checking for cc... no
 checking for cc... no
 checking for cl... no
 configure: error: no acceptable C compiler found in $PATH
 See `config.log' for more details.
 [EMAIL PROTECTED] dia-0.91]$


 so now I need to go through and install each of those 5 lines with the
 word working in them?
 What about the gcc, cc and cl - are they programs I have to
 install too?

 And those last 2 lines make me wonder too: does Mandrake come with a C
 compiler already installed? I had a look in config.log but as far as I
 can see it only has some entries about LICQ, nothing about dia-0.91.
 Should I post it here?

gcc is a compiler needed to compile a program from scratch, as you are
trying to do.

just type 'urpmi gcc' as root and it should install most of the necessary
stuff.

note: it needs sources for the install files, and the easiest way to add
sources is by following the instructions at
http://plf.zarb.org/~nanardon/urpmiweb.php

oh, btw, if you added sources properly, you can try 'urpmi dia' and it'll
prolly install a version of dia suitable for the mandrake you're using.

hope this helps.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] newbie trouble with installing a program

2003-10-10 Thread Merlin Zener
On Thu, 2003-10-09 at 06:35, Derek Jennings wrote:
 [...snip]
 
 Merlin
 If you want to install dia just Open your Mandrake Control 
 CentreSoftwareManagementSoftware Install
 and type dia in the search box .
 
 You will find it is already on your CDs
 

Hi Derek, thanks for your reply.
Unfortunately I don't find it in there: there are only three results
that come up: DansGuardian, diald and kdemultimedia-devel. I also tried
searching directly on the CDs using find files and came up empty. I
have Mandrake 9.0 - perhaps you have a later version?


 [...snip]
 
 While it is fun and a great learning experience to compile your own code, it 
 is not actually necessary nowdays. There are a gazillion precompiled packages 
 for Mandrake easily available.
 Quite a lot of them are on your CDs.
 

What I'm looking for is something that will let me make simple drawings
of boxes [and basic shapes] with text in them, and lines and arrows
going from the boxes to other boxes. Like:

source --- preamp --- EQ --- line mixer +--- out 1
   |
   +--- out 2


etc.
Can anyone offer any suggestions?

--
Merlin Zener
Piano, Synthesizer
Thailand.

registered Linux user number 328618


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] newbie trouble with installing a program

2003-10-10 Thread Merlin Zener
On Thu, 2003-10-09 at 08:22, Greg Meyer wrote:
 On Wednesday 08 October 2003 06:41 pm, Merlin Zener wrote:
  I'm guessing I'm probably missing something obvious and basic here, but
 
 There is a prebuilt package for dia in the Mandrake distribution.  Just use 
 rpmdrake or urpmi from the command line to install it.
 
 # urpmi dia
 installing /mnt/dist/9.1/i586/Mandrake/RPMS/dia-0.90-5mdk.i586.rpm
 
 Preparing...##
1:dia##
 

I tried that, but it just hangs.
ctrl-z, ctrl-c, q, exit, nothing seems to bring it back to life. I
have to shut down the terminal window and log back in again.

--
Merlin Zener
Piano, Synthesizer
Thailand.

registered Linux user number 328618


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] newbie trouble with installing a program

2003-10-10 Thread Derek Jennings
On Friday 10 Oct 2003 9:12 am, Merlin Zener wrote:
 On Thu, 2003-10-09 at 06:35, Derek Jennings wrote:
  [...snip]
 
  Merlin
  If you want to install dia just Open your Mandrake Control
  CentreSoftwareManagementSoftware Install
  and type dia in the search box .
 
  You will find it is already on your CDs

 Hi Derek, thanks for your reply.
 Unfortunately I don't find it in there: there are only three results
 that come up: DansGuardian, diald and kdemultimedia-devel. I also tried
 searching directly on the CDs using find files and came up empty. I
 have Mandrake 9.0 - perhaps you have a later version?


Merlin
dia-0.90-2mdk.rpm  is on CD2 of Mandrake 9.0  (I just checked)

So either you do not have the 2nd CD, or else your CD sources are screwed up 
in Rpmdrake.

You could either just insert CD2 and install dia by clicking on the RPM with 
konqueror, or else you could reset your CD sources in Rpmdrake.

To do that  from Mandrake Control CentreSoftwareSoftware Source Manager
select all the entries for your CDs and delete them. Close the GUI

Insert CD1 into your CD drive  (which I assume is /mnt/cdrom)

Now open a terminal. Enter su to become root user
urpmi.addmedia --distrib cdrom removable:///mnt/cdrom

That will automatically insert all 3 CDs into the list of sources and you 
should then be able to use rpmdrake to install dia and lots of other 
applications.

BTW: If you do not yet know how to copy/paste in Linux see here
http://www.jennings.homelinux.net/modules.php?name=Sectionsop=viewarticleartid=7

derek
-- 
--
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] newbie trouble with installing a program

2003-10-10 Thread ed tharp
On Fri, 2003-10-10 at 04:21, Merlin Zener wrote:
 On Thu, 2003-10-09 at 08:22, Greg Meyer wrote:
  On Wednesday 08 October 2003 06:41 pm, Merlin Zener wrote:
   I'm guessing I'm probably missing something obvious and basic here, but
  
  There is a prebuilt package for dia in the Mandrake distribution.  Just use 
  rpmdrake or urpmi from the command line to install it.
  
  # urpmi dia
  installing /mnt/dist/9.1/i586/Mandrake/RPMS/dia-0.90-5mdk.i586.rpm
  
  Preparing...##
 1:dia##
  
 
 I tried that, but it just hangs.
 ctrl-z, ctrl-c, q, exit, nothing seems to bring it back to life. I
 have to shut down the terminal window and log back in again.
wait 30 mins, and see if you don't have some further info on screen, and
the problem will be gone, and the software installed



 --
 Merlin Zener
 Piano, Synthesizer
 Thailand.
 
 registered Linux user number 328618
 
 
 
 __
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
-- 
++
Mandrake HowTo's  More: http://twiki.mdklinuxfaq.org



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] newbie trouble with installing a program

2003-10-08 Thread Merlin Zener
Hi,

I'm guessing I'm probably missing something obvious and basic here, but
just right now I can't seem to find it. Not looking in the right help
file or man page, I guess. I did google on install and install
problems and such, came across a couple of pages but nothing that
actually explain what to do when it doesn't work.

I'm trying to install a program to do some basic diagrams of PA systems
etc - it's called dia-0.91. The instructions say:

INSTALL:

install it by doing:

 make install


but all I get when I try that is:

[EMAIL PROTECTED] dia-0.91]#  make install
make: *** No rule to make target `install'.  Stop.
[EMAIL PROTECTED] dia-0.91]#

I tried pasting that error message into google.com/linux but I only found
some discussions about problem with other programs. I tried man make but 
it says I should just have to type make by itself, and it should 
suffice. It goes on to say that make will look for a makefile - and I can
see in Konquerer there are 3: makefile.am, makefile.in and makefile.msc.
They're right there in the same directory I'm in.

I thought it might be some kind of permissions problem, but I entered SU
and the root password and tried again with the same result.

I'm beginning to think there's something basic broken on my system - the
simplest little things don't seem to work for me - things you guys seem
to take for granted. like:

[EMAIL PROTECTED] dia-0.91]# whereami
bash: whereami: command not found
[EMAIL PROTECTED] dia-0.91]#
[EMAIL PROTECTED] merlin]# cron
bash: cron: command not found
[EMAIL PROTECTED] dia-0.91]$ urpmi
bash: urpmi: command not found
[EMAIL PROTECTED] dia-0.91]$ path
bash: path: command not found

and there's a bunch of others too, I just can't think of them atm.

btw when you download something and then [try to] install it, where are
you supposed to install it to?


TIA

--
Merlin Zener
Piano, Synthesizer
Thailand.

registered Linux user number 328618


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] newbie trouble with installing a program

2003-10-08 Thread Merlin Zener
Hi,

I'm guessing I'm probably missing something obvious and basic here, but
just right now I can't seem to find it. Not looking in the right nelp
file or man page, I guess. I did google on install and install
problems and such, came across a couple of pages but nothing that
actually explain what to do when it doesn't work.

I'm trying to install a program to do some basic diagrams of PA systems
etc - it's called dia-0.91. The instructions say:

INSTALL:

install it by doing:

 make install


but all I get when I try that is:

[EMAIL PROTECTED] dia-0.91]#  make install
make: *** No rule to make target `install'.  Stop.
[EMAIL PROTECTED] dia-0.91]#

I thought it might be some kind of permissions problem, but I entered SU
and the root password and tried again with the same result.

I'm beginning to think there's something basic broken on my system - the
simplest little things don't seem to work for me - things you guys seem
to take for granted. like:

[EMAIL PROTECTED] dia-0.91]# whereami
bash: whereami: command not found
[EMAIL PROTECTED] dia-0.91]#

and there's a bunch of others too, I just can't think of them atm.

btw when you download something and then [try to] install it, where are
you supposed to install it to?


TIA

--
Merlin Zener
Piano, Synthesizer
Thailand.

registered Linux user number 328618


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] newbie trouble with installing a program

2003-10-08 Thread Merlin Zener
On Thu, 2003-10-09 at 05:41, Merlin Zener wrote:
 Hi,
 [...snip]

sorry about the duplicate.
I had the half-finished version in the outbox, edited it then sent it,
but then it seems it [Evolution] didn't delete the original version...
???

It's been that kind of day...

--
Merlin Zener
Piano, Synthesizer
Thailand.

registered Linux user number 328618


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] newbie trouble with installing a program

2003-10-08 Thread julian
On Wed, 2003-10-08 at 23:37, Merlin Zener wrote:
 Hi,
 
 I'm guessing I'm probably missing something obvious and basic here, but
 just right now I can't seem to find it. Not looking in the right help
 file or man page, I guess. I did google on install and install
 problems and such, came across a couple of pages but nothing that
 actually explain what to do when it doesn't work.
 
 I'm trying to install a program to do some basic diagrams of PA systems
 etc - it's called dia-0.91. The instructions say:
 
 INSTALL:
 
 install it by doing:
 
  make install
 
 
 but all I get when I try that is:
 
 [EMAIL PROTECTED] dia-0.91]#  make install
 make: *** No rule to make target `install'.  Stop.
 [EMAIL PROTECTED] dia-0.91]#
 
 I tried pasting that error message into google.com/linux but I only found
 some discussions about problem with other programs. I tried man make but 
 it says I should just have to type make by itself, and it should 
 suffice. It goes on to say that make will look for a makefile - and I can
 see in Konquerer there are 3: makefile.am, makefile.in and makefile.msc.
 They're right there in the same directory I'm in.
 
 I thought it might be some kind of permissions problem, but I entered SU
 and the root password and tried again with the same result.
 
 I'm beginning to think there's something basic broken on my system - the
 simplest little things don't seem to work for me - things you guys seem
 to take for granted. like:
 
 [EMAIL PROTECTED] dia-0.91]# whereami
 bash: whereami: command not found
 [EMAIL PROTECTED] dia-0.91]#
 [EMAIL PROTECTED] merlin]# cron
 bash: cron: command not found
 [EMAIL PROTECTED] dia-0.91]$ urpmi
 bash: urpmi: command not found
 [EMAIL PROTECTED] dia-0.91]$ path
 bash: path: command not found
 
 and there's a bunch of others too, I just can't think of them atm.
 
 btw when you download something and then [try to] install it, where are
 you supposed to install it to?


I just took a look. What you downloaded is the source code for the
program. The program needs to be built (aka compiled) and then
installed. As you have not done the building bit, there is nothing for
make install to do. 
You'll get a better explaination of this here:
http://www.tldp.org/HOWTO/Software-Building-HOWTO.html

To build and install the program, I did:

tar -jxvf dia-0.91.tar.bz2
(this extracts it)

cd dia-0.91   
(enter the directory)

./configure   
(this prepares for the actual build. It may fail if you don't have the
particular software development packages that it needs installed. If
this happens you need to install those packages and run ./configure
again)

make   
(this runs the source through the compiler)

make install   
(installs the programs you just made you should be su for this bit)

Different programs install to different places. Hopefully the place will
be in your path and so you will be able to run it. If you scroll through
the text created by make install you should see where it went (looks
like most went into usr/local/share).

To see your path you can use:
echo $PATH
To change the path you can use 
export PATH=/wherever:/and/here
which would overwrite your current path to contain just those two
locations /wherever and /and/here. Colons separate the path locations. I
echo the current path, and then rewrite the whole thing with whatever
I'm adding to it. There must be more crafty techniques, but I'm a
newbie...

I dont know about whereami but pwd shows the Present Working Directory
- where you are. I found that by accident when I didn't type passwd.

cron doesn't work for me at the prompt either. However it is running as
a service (look in the services in the control centre), and the command
crontab does work. I don't know anything about cron yet...

Oh, dia works for me. Whatever it is.





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] newbie trouble with installing a program

2003-10-08 Thread Derek Jennings
On Wednesday 08 Oct 2003 11:37 pm, Merlin Zener wrote:
 Hi,

 I'm guessing I'm probably missing something obvious and basic here, but
 just right now I can't seem to find it. Not looking in the right help
 file or man page, I guess. I did google on install and install
 problems and such, came across a couple of pages but nothing that
 actually explain what to do when it doesn't work.

 I'm trying to install a program to do some basic diagrams of PA systems
 etc - it's called dia-0.91. The instructions say:

 INSTALL:
 
 install it by doing:

  make install
 

 but all I get when I try that is:

 [EMAIL PROTECTED] dia-0.91]#  make install
 make: *** No rule to make target `install'.  Stop.
 [EMAIL PROTECTED] dia-0.91]#

 I tried pasting that error message into google.com/linux but I only found
 some discussions about problem with other programs. I tried man make but
 it says I should just have to type make by itself, and it should
 suffice. It goes on to say that make will look for a makefile - and I can
 see in Konquerer there are 3: makefile.am, makefile.in and makefile.msc.
 They're right there in the same directory I'm in.

 I thought it might be some kind of permissions problem, but I entered SU
 and the root password and tried again with the same result.

 I'm beginning to think there's something basic broken on my system - the
 simplest little things don't seem to work for me - things you guys seem
 to take for granted. like:


 and there's a bunch of others too, I just can't think of them atm.

 btw when you download something and then [try to] install it, where are
 you supposed to install it to?



 TIA

 --
 [EMAIL PROTECTED] dia-0.91]$ path
 bash: path: command not found
 Merlin Zener
 Piano, Synthesizer
 Thailand.

 registered Linux user number 328618


Merlin
If you want to install dia just Open your Mandrake Control 
CentreSoftwareManagementSoftware Install
and type dia in the search box .

You will find it is already on your CDs

As for your other questions
 [EMAIL PROTECTED] dia-0.91]# whereami
 bash: whereami: command not found
That is not any command I am aware of.
Do you mean 'whoami' or 'whereis' ?

 [EMAIL PROTECTED] merlin]# cron
 bash: cron: command not found
cron is not a command. The crond daemon is a process that runs continupusly to 
run scheduled jobs. To configure it use webmin.
(To use webmin install the webmin RPM then https://localhost:1  in a 
browser )

 [EMAIL PROTECTED] dia-0.91]$ urpmi
 bash: urpmi: command not found

urpmi *is* a command, but you have to be root user to use it. To become root 
user enter the command 'su'  followed by root password when prompted.
But why not just use the Software Manager GUI instead? It is the same thing. 
Just more newbie friendly.


 [EMAIL PROTECTED] dia-0.91]$ path
 bash: path: command not found
path is not a command either. It is an environment variable which determines 
which directories are searched for a command. To view your path enter
 echo $PATH
But why should a newbie care about their PATH variable?
I never look at mine.


I would *not* recommend a newbie to download and compile their own source code 
without a bit of Linux experience under their belt.
Do you compile your own Windows applications?

While it is fun and a great learning experience to compile your own code, it 
is not actually necessary nowdays. There are a gazillion precompiled packages 
for Mandrake easily available.
Quite a lot of them are on your CDs.

HTH

derek
-- 
--
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] newbie trouble with installing a program

2003-10-08 Thread Roel
Hallo Merlin

On 9 Oct 2003 05:37:44  (my local time 00:37:44), Merlin Zener wrote:

MZ [EMAIL PROTECTED] dia-0.91]# whereami
MZ bash: whereami: command not found

This should be 'whoami'

MZ [EMAIL PROTECTED] merlin]# cron
MZ bash: cron: command not found

This should be 'crontab'

MZ [EMAIL PROTECTED] dia-0.91]$ urpmi
MZ bash: urpmi: command not found

urpmi is only executable for the root-user, any other user will get
that exact error.

MZ [EMAIL PROTECTED] dia-0.91]$ path
MZ bash: path: command not found

path is a system-variable, I think you mean the command 'pwd' here.

hth!
-- 
 Der Immer Jodelende Schweizer In Lederhosen
 Roel  [EMAIL PROTECTED]

  Zum Antworten bitte Lederhosen entfernen

I have just as much authority as the Pope;
I just don't have as many people who believe it.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] newbie trouble with installing a program

2003-10-08 Thread Greg Meyer
On Wednesday 08 October 2003 06:41 pm, Merlin Zener wrote:
 I'm guessing I'm probably missing something obvious and basic here, but

There is a prebuilt package for dia in the Mandrake distribution.  Just use 
rpmdrake or urpmi from the command line to install it.

# urpmi dia
installing /mnt/dist/9.1/i586/Mandrake/RPMS/dia-0.90-5mdk.i586.rpm

Preparing...##
   1:dia##


-- 
/g

Outside of a dog, a man's best friend is a book, inside
a dog it's too dark to read -Groucho Marx

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com