[SOLVED] bash: make: command not found

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] bash: make: command not found

Postby Bourbon » Jun 9th, '12, 22:26

Hi All,

Wishing to install gimp-lqr-plugin I am stuck due the absence of ¨make¨; on Ubuntu needing the packet ¨build-essentials¨, what I have to install on Mageia 2 KDE 32 bit coming from live cd?

Thank you for your kind attention, ciao
Last edited by Bourbon on Jun 10th, '12, 00:30, edited 1 time in total.
User avatar
Bourbon
 
Posts: 15
Joined: Jul 15th, '11, 10:44
Location: Kampala - Uganda

Re: bash: make: command not found

Postby maat » Jun 9th, '12, 22:36

Depending on if your plugin is written in c or c++ i think you'll have to install task-c-devel or task-c++-devel
maat
 
Posts: 307
Joined: Feb 13th, '11, 00:23

Re: bash: make: command not found

Postby Bourbon » Jun 10th, '12, 00:29

Thank you Maat :)
I have to install ¨task-c-devel¨ unfortunately the package is corrupted. Ciao
User avatar
Bourbon
 
Posts: 15
Joined: Jul 15th, '11, 10:44
Location: Kampala - Uganda

Re: bash: make: command not found

Postby Ken-Bergen » Jun 10th, '12, 00:37

Bourbon wrote:Thank you Maat :)
I have to install ¨task-c-devel¨ unfortunately the package is corrupted. Ciao
What exactly do you mean by corrupted and how are you trying to install it?
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: [SOLVED] bash: make: command not found

Postby Ken-Bergen » Jun 10th, '12, 01:24

Please post how you solved the problem for the edification of others reading this thread.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: [SOLVED] bash: make: command not found

Postby Bourbon » Jun 10th, '12, 02:58

Hi Ken,

I have been using the package manager and the terminal (urpmi); both after a bit saying that some packages are not good and I have been stopping the action.
I have been labeling the thread as ¨SOLVED¨ because now I know which package I have to download, hoping that will be fixed (I don´t know exactly wich package is corrupted because selecting ¨task-c-devel¨ many packages coming out).

Ciao :)
User avatar
Bourbon
 
Posts: 15
Joined: Jul 15th, '11, 10:44
Location: Kampala - Uganda

Re: [SOLVED] bash: make: command not found

Postby Ken-Bergen » Jun 10th, '12, 03:30

It would have been nice to see the errors in order to determine if the problem is the mirror you're using, a package with a bad signiture or your setup.
But it's a bit late now that you have it installed.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: [SOLVED] bash: make: command not found

Postby doktor5000 » Jun 10th, '12, 17:15

Bourbon wrote:I have been labeling the thread as ¨SOLVED¨ because now I know which package I have to download, hoping that will be fixed (I don´t know exactly wich package is corrupted because selecting ¨task-c-devel¨ many packages coming out).


Well, we can't fix anything if we don't know exactly what's broken. For clarification, do you have those packages installed now or not?
If not, please post the whole output of
Code: Select all
urpmi task-c++-devel
as root in a terminal.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] bash: make: command not found

Postby Bourbon » Jun 10th, '12, 17:50

Hi All,

Unfortunately we have some misunderstanding over here :)

@ Ken: no, I don´t have the package installed yet, can´t complete the process.

@ Doktor5000: the package is not installed yet, I need ¨task-c-devel¨. For your comfort I did the process again and this is the output:
Code: Select all
[master@localhost ~]$ su
Password:
[root@localhost master]# urpmi task-c-devel
Per soddisfare le dipendenze di "ctags" serve uno dei seguenti pacchetti:
 1- ctags-5.8-3.mga1.i586: Generates an index (or "tag") file for objects found in source files (da installare)
 2- xemacs-extras-21.4.22-13.mga2.i586: Files that XEmacs has in common with GNU Emacs (da installare)
Quale scegli? (1-2)  2

Per soddisfare le dipendenze di "ctags" serve uno dei seguenti pacchetti:
 1- ctags-5.8-3.mga1.i586: Generates an index (or "tag") file for objects found in source files (da installare)
 2- xemacs-extras-21.4.22-13.mga2.i586: Files that XEmacs has in common with GNU Emacs (da installare)
Quale scegli? (1-2) 2
Per soddisfare le dipendenze, saranno installati i seguenti pacchetti:
  Pacchetto                      Versione     Release       Arch.   
(supporto "Core Release")
  bison                          2.5          1.mga2        i586   
  flex                           2.5.35       7.mga1        i586   
  libcompface1                   1.5.2        7.mga1        i586   
  libncurses-devel               5.9          6.mga2        i586             
  libxaw3d7                      1.5E         16.mga2       i586             
  make                           3.82         4.mga1        i586             
  texinfo                        4.13a        3.mga2        i586             
  texlive-texmf                  20110705     7.mga2        noarch           
  x11-font-adobe-100dpi          1.0.3        1.mga1        noarch  (suggerito)
  xemacs                         21.4.22      13.mga2       i586   
  xemacs-extras                  21.4.22      13.mga2       i586   
(supporto "Core Release2")
  task-c-devel                   2011.0       1.mga2        noarch 
Altri 789MB di spazio disco saranno utilizzati.
verranno scaricati 404MB di pacchetti.
Procedo con l'installazione di 12 pacchetti? (S/n)

$MIRRORLIST: media/core/release/texlive-texmf-20110705-7.mga2.noarch.rpm
...recupero fallito:   39.0KiB/s|/var/cache/urpmi/partial/texlive-texmf-20110705-7.mga2.noarch.rpm

...recupero fallito:   48.9KiB/s|/var/cache/urpmi/partial/texlive-texmf-20110705-7.mga2.noarch.rpm
aria2 non riuscito: uscito con 2

Non è riuscito il recupero di texlive-texmf-20110705-7.mga2.noarch.rpm
Riprovare? (s/N)
...recupero fallito: aria2 non riuscito: uscito con 2

Installazione fallita, mancano alcuni file:
    http://ftp.fi.muni.cz/pub/linux/mageia/distrib/2/i586/media/core/release/texlive-texmf-20110705-7.mga2.noarch.rpm
Sarebbe utile aggiornare il database urpmi.

Proseguire comunque? (s/N)  N
[root@localhost master]# urpmi.update -a
il supporto "Core Release" risulta già aggiornato
    $MIRRORLIST: media/core/updates/media_info/20120610-144808-synthesis.hdlist.cz
supporto "Core Updates" aggiornato                                         
il supporto "Core Backports" risulta già aggiornato
il supporto "Nonfree Release" risulta già aggiornato
il supporto "Nonfree Updates" risulta già aggiornato
il supporto "Nonfree Backports" risulta già aggiornato
il supporto "Tainted Release" risulta già aggiornato
il supporto "Tainted Updates" risulta già aggiornato
il supporto "Tainted Backports" risulta già aggiornato
il supporto "Core Release (distrib1)" risulta già aggiornato
    $MIRRORLIST: media/core/updates/media_info/20120610-144808-synthesis.hdlist.cz
supporto "Core Updates (distrib3)" aggiornato                               
il supporto "Core Backports (distrib7)" risulta già aggiornato
il supporto "Nonfree Release (distrib11)" risulta già aggiornato
il supporto "Nonfree Updates (distrib13)" risulta già aggiornato
il supporto "Nonfree Backports (distrib17)" risulta già aggiornato
il supporto "Tainted Release (distrib21)" risulta già aggiornato
il supporto "Tainted Updates (distrib23)" risulta già aggiornato
il supporto "Tainted Backports (distrib27)" risulta già aggiornato
il supporto "Core Release (distrib31)" risulta già aggiornato
il supporto "Core Release2" risulta già aggiornato
    $MIRRORLIST: media/core/updates/media_info/20120610-140232-synthesis.hdlist.cz
supporto "Core Updates2" aggiornato                                         
il supporto "Core Release (distrib61)" risulta già aggiornato               
    $MIRRORLIST: media/core/updates/media_info/20120610-142116-synthesis.hdli
supporto "Core Updates (distrib63)" aggiornato                               
[root@localhost master]#

Ciao
User avatar
Bourbon
 
Posts: 15
Joined: Jul 15th, '11, 10:44
Location: Kampala - Uganda

Re: [SOLVED] bash: make: command not found

Postby maat » Jun 10th, '12, 18:03

i'd say the mirror you're using is broken :-/

edit: the http://ftp.fi.muni.cz/pub/linux/mageia/ ... noarch.rpm seems to be there now...

Perhaps you could try again ?
maat
 
Posts: 307
Joined: Feb 13th, '11, 00:23

Re: [SOLVED] bash: make: command not found

Postby Bourbon » Jun 10th, '12, 21:12

Hi Maat,

Still broken... (with both options)
Code: Select all
[master@localhost ~]$ su
Password:
[root@localhost master]# urpmi task-c-devel
Per soddisfare le dipendenze di "ctags" serve uno dei seguenti pacchetti:
 1- ctags-5.8-3.mga1.i586: Generates an index (or "tag") file for objects found in source files (da installare)
 2- xemacs-extras-21.4.22-13.mga2.i586: Files that XEmacs has in common with GNU Emacs (da installare)
Quale scegli? (1-2) 2
Per soddisfare le dipendenze, saranno installati i seguenti pacchetti:
  Pacchetto                      Versione     Release       Arch.   
(supporto "Core Release")
  bison                          2.5          1.mga2        i586   
  flex                           2.5.35       7.mga1        i586   
  libcompface1                   1.5.2        7.mga1        i586   
  libncurses-devel               5.9          6.mga2        i586   
  libxaw3d7                      1.5E         16.mga2       i586   
  make                           3.82         4.mga1        i586   
  texinfo                        4.13a        3.mga2        i586   
  texlive-texmf                  20110705     7.mga2        noarch 
  x11-font-adobe-100dpi          1.0.3        1.mga1        noarch  (suggerito)
  xemacs                         21.4.22      13.mga2       i586   
  xemacs-extras                  21.4.22      13.mga2       i586   
(supporto "Core Release (distrib61)")
  task-c-devel                   2011.0       1.mga2        noarch 
Altri 789MB di spazio disco saranno utilizzati.
verranno scaricati 404MB di pacchetti.
Procedo con l'installazione di 12 pacchetti? (S/n) S


    $MIRRORLIST: media/core/release/texlive-texmf-20110705-7.mga2.noarch.rpm
...recupero fallito:   39.5KiB/s|/var/cache/urpmi/partial/texlive-texmf-20110705-7.mga2.noarch.rpm
...recupero fallito:   37.9KiB/s|/var/cache/urpmi/partial/texlive-texmf-20110705-7.mga2.noarch.rpm
aria2 non riuscito: uscito con 2

Non è riuscito il recupero di texlive-texmf-20110705-7.mga2.noarch.rpm
Riprovare? (s/N) N
...recupero fallito: aria2 non riuscito: uscito con 2

Installazione fallita, mancano alcuni file:
    http://ftp.fi.muni.cz/pub/linux/mageia/distrib/2/i586/media/core/release/texlive-texmf-20110705-7.mga2.noarch.rpm
Sarebbe utile aggiornare il database urpmi.

Proseguire comunque? (s/N) N
[root@localhost master]# urpmi task-c-devel
Per soddisfare le dipendenze di "ctags" serve uno dei seguenti pacchetti:
 1- ctags-5.8-3.mga1.i586: Generates an index (or "tag") file for objects found in source files (da installare)
 2- xemacs-extras-21.4.22-13.mga2.i586: Files that XEmacs has in common with GNU Emacs (da installare)
Quale scegli? (1-2) 1
Per soddisfare le dipendenze, saranno installati i seguenti pacchetti:
  Pacchetto                      Versione     Release       Arch.   
(supporto "Core Release")
  bison                          2.5          1.mga2        i586   
  ctags                          5.8          3.mga1        i586   
  flex                           2.5.35       7.mga1        i586   
  libncurses-devel               5.9          6.mga2        i586   
  make                           3.82         4.mga1        i586   
  texinfo                        4.13a        3.mga2        i586   
  texlive-texmf                  20110705     7.mga2        noarch 
(supporto "Core Release (distrib61)")
  task-c-devel                   2011.0       1.mga2        noarch 
Altri 700MB di spazio disco saranno utilizzati.
verranno scaricati 374MB di pacchetti.
Procedo con l'installazione di 8 pacchetti? (S/n) S


    $MIRRORLIST: media/core/release/texlive-texmf-20110705-7.mga2.noarch.rpm
...recupero fallito:   54.9KiB/s|/var/cache/urpmi/partial/texlive-texmf-20110705-7.mga2.noarch.rpm
...recupero fallito:   43.1KiB/s|/var/cache/urpmi/partial/texlive-texmf-20110705-7.mga2.noarch.rpm
aria2 non riuscito: uscito con 2

Non è riuscito il recupero di texlive-texmf-20110705-7.mga2.noarch.rpm
Riprovare? (s/N) N
...recupero fallito: aria2 non riuscito: uscito con 2

Installazione fallita, mancano alcuni file:
    http://ftp.fi.muni.cz/pub/linux/mageia/distrib/2/i586/media/core/release/texlive-texmf-20110705-7.mga2.noarch.rpm
Sarebbe utile aggiornare il database urpmi.

Proseguire comunque? (s/N) N
[root@localhost master]#

Ciao
User avatar
Bourbon
 
Posts: 15
Joined: Jul 15th, '11, 10:44
Location: Kampala - Uganda

Re: [SOLVED] bash: make: command not found

Postby maat » Jun 10th, '12, 23:06

So it seems we don't see the same thing or that you have a problem with aria.

Please download this (with your favorite web browser) into your /tmp dir :

http://mirrors.kernel.org/mageia/distri ... 2.i586.rpm

Then try this as root :

Code: Select all
[ ! -f /usr/bin/wget ] && urpmi /tmp/wget-1.13.4-2.mga2.i586.rpm
urpmi.update --wget -a -f
urpmi --wget task-c-devel


and give us the result of these commands :)
maat
 
Posts: 307
Joined: Feb 13th, '11, 00:23

Re: [SOLVED] bash: make: command not found

Postby Ken-Bergen » Jun 10th, '12, 23:56

Code: Select all
$ Mirrorlist: media/core/release/texlive-texmf-20110705-7.mga2.noarch.rpm
    Recovery failed ...: 54.9KiB / s | / var/cache/urpmi/partial/texlive-texmf-20110705-7.mga2.noarch.rpm
    Recovery failed ...: 43.1KiB / s | / var/cache/urpmi/partial/texlive-texmf-20110705-7.mga2.noarch.rpm
    aria2 failed: exited with 2
I could be wrong but that suggests that there's a corrupt partial download that is interfering.
Try
Code: Select all
rm /var/cache/urpmi/partial/*
Then try installing again.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: [SOLVED] bash: make: command not found

Postby doktor5000 » Jun 11th, '12, 00:39

Just use another mirror which is know to be working and reliable, maybe mandrivauser.de.
Remove all your repositories:
Code: Select all
urpmi.removemedia -a

Add a new standard set of repositories:
Code: Select all
urpmi.addmedia --distrib ftp://ftp.mandrivauser.de/mirrors/Mageia/distrib/2/i586
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] bash: make: command not found

Postby Bourbon » Jun 11th, '12, 14:12

Hi All,

I understand that with Mageia never we are alone :)
I have been following the suggestions and now I tell you the results about the steps I did (chronological order):

1 - Ken-Berger suggested:
Code: Select all
# rm /var/cache/urpmi/partial/*

Done and this is the result:
Code: Select all
[master@localhost ~]$ su
Password:
[root@localhost master]# rm /var/cache/urpmi/partial/*
rm: rimuovere file regolare "/var/cache/urpmi/partial/java-1.6.0-openjdk-demo-1.6.0.0-31.b24.1.mga2.i586.rpm"? Si
rm: rimuovere file regolare "/var/cache/urpmi/partial/media.cfg"? Si
rm: rimuovere file regolare "/var/cache/urpmi/partial/texlive-texmf-20110705-7.mga2.noarch.rpm.aria2"? Si
[root@localhost master]#


2 - Doktor5000 suggested:
Remove all your repositories:
Code: Select all
# urpmi.removemedia -a

Add a new standard set of repositories:
Code: Select all
urpmi.addmedia --distrib ftp://ftp.mandrivauser.de/mirrors/Mageia/distrib/2/i586

Done

3 - Maat suggested:
Please download this (with your favorite web browser) into your /tmp dir :
Code: Select all
http://mirrors.kernel.org/mageia/distri ... 2.i586.rpm

Then try this as root :
Code: Select all
[ ! -f /usr/bin/wget ] && urpmi /tmp/wget-1.13.4-2.mga2.i586.rpm
urpmi.update --wget -a -f
urpmi --wget task-c-devel

Done. Everything is installed now and I have been able to compile/install the Liquid Rescale GIMP plugin too.

Thank you very much to Everyone, ciao :D

P.S.
With the new Repositories set installed still I have access to Backports/Taineds or I have to do something else?
User avatar
Bourbon
 
Posts: 15
Joined: Jul 15th, '11, 10:44
Location: Kampala - Uganda

Re: [SOLVED] bash: make: command not found

Postby maat » Jun 11th, '12, 14:18

Mageia control center -> software management -> edit sources & media -> check the repos you want (d'ont forget to check the corresponding update for each repos you activate)

Enjoy :)
maat
 
Posts: 307
Joined: Feb 13th, '11, 00:23

Re: [SOLVED] bash: make: command not found

Postby Bourbon » Jun 11th, '12, 14:40

Done, thank you again Maat :) Ciao
User avatar
Bourbon
 
Posts: 15
Joined: Jul 15th, '11, 10:44
Location: Kampala - Uganda

Re: [SOLVED] bash: make: command not found

Postby maat » Jun 11th, '12, 16:40

:)
maat
 
Posts: 307
Joined: Feb 13th, '11, 00:23


Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron