No make command?

11 replies [Last post]
ghostlyfoot
Offline
Joined: 04/11/2012

I am trying to compile a driver for my wireless adapter (broadcom), so I download the source code, extract it, and type 'make'. It seems that it cannot find a make command. Could someone please provide a solution? :)

aloniv

I am a translator!

Offline
Joined: 01/11/2011

You need to install the build-essential package.

ghostlyfoot
Offline
Joined: 04/11/2012

Oh, thanks. I'm used to make being pre-loaded like gcc.

Chris

I am a member!

Offline
Joined: 04/23/2011

Even if GCC is included chances are good you would still want
build-essentials.

I don't know what broadcom driver you are trying to compile although there is
a good chance it isn't included in Trisquel for a reason. Most of the
broadcom cards are not free software friendly and this distribution/community
wouldn't recommend it.

Here is some info on free software:

http://www.gnu.org/philosophy/free-sw.html

There is a broadcom chipset that I believe has beta open source drivers. I'm
not sure if Trisquel is including them given they are not even recommended by
the developers of that project. I know some one else on the forums posted
about it working once with Trisquel. I can't verify this though.

We sell the cards and I can recommend a number of chipsets depending on the
type of card.

For USB wireless cards you should use one of three chipsets: Realtek 8187B,
8187L, or Atheros AR9170

For PCI / PCIe or Mini PCI / PCIe you should use an Atheros chipset (at least
for N). I there are a few different G chipsets that would also be ok if you
have an older system.

We sell these (except for the 8187L- we use the 8187B for the G USB card) and
give Trisquel 25% of the profits. http://libre.thinkpenguin.com/

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

"build-essential" is for building Debian (and derivatives) packages. To 'make', well... you only need the "make" package, which is a dependency of "build-essential".

As for the rest of you post, which is is far more important/interesting that this technical point, I entirely agree. :-)

Chris

I am a member!

Offline
Joined: 04/23/2011

:) You got me. I don't do a whole lot of coding these days and have always needed to install the whole thing.

Chris

I am a member!

Offline
Joined: 04/23/2011

:) You got me. I don't do a whole lot of coding these days and have always
needed to install the whole thing.

aloniv

I am a translator!

Offline
Joined: 01/11/2011

Magic Banana, if you just need the make command to show up then of course it
is sufficient to install the make package. However in order to actually make
packages, you will probably also need the build-essential package, as it
includes C header files and development libraries (libc6-dev) and a C++
compiler (g++). Even Ubuntu 's documentation says you need build-essential to
make packages:
https://help.ubuntu.com/community/CompilingEasyHowTo
Step 1: Prep your system for building packages
By default, Ubuntu does not come with the tools required. You need to install
the package build-essential for making the package and checkinstall for
putting it into your package manager.

ghostlyfoot
Offline
Joined: 04/11/2012

Oh, thanks. I'm used to make being pre-loaded like gcc in other distros.

Chris

I am a member!

Offline
Joined: 04/23/2011

Even if GCC is included chances are good you would still want build-essentials.

I don't know what broadcom driver you are trying to compile although there is a good chance it isn't included in Trisquel for a reason. Most of the broadcom cards are not free software friendly and this distribution/community wouldn't recommend it.

Here is some info on free software:

http://www.gnu.org/philosophy/free-sw.html

There is a broadcom chipset that I believe has beta open source drivers. I'm not sure if Trisquel is including them given they are not even recommended by the developers of that project. I know some one else on the forums posted about it working once with Trisquel. I can't verify this though.

We sell the cards and I can recommend a number of chipsets depending on the type of card.

For USB wireless cards you should use one of three chipsets: Realtek 8187B, 8187L, or Atheros AR9170

For PCI / PCIe or Mini PCI / PCIe you should use an Atheros chipset (at least for N). I there are a few different G chipsets that would also be ok if you have an older system.

We sell these (except for the 8187L- we use the 8187B for the G USB card) and give Trisquel 25% of the profits if you need one: http://libre.thinkpenguin.com/

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

"build-essential" is for building Debian (and derivatives) packages. To
'make', well... you only need the "make" package, which is a dependency of
"build-essential".

As for the rest of you post, which is is far more important/interesting that
this technical point, I entirely agree. :-)

aloniv

I am a translator!

Offline
Joined: 01/11/2011

Magic Banana, if you just need the make command to show up then of course it is sufficient to install the make package. However in order to compile packages, you will probably also need the build-essential package, as it includes C header files and development libraries (libc6-dev) and a C++ compiler (g++).