# \[Blug-list\] installing from source

**URL:** <https://discuss.lfnw.org/t/blug-list-installing-from-source/292>\
**Category:** BLUG\
**Created:** [July 22, 2021, 1:00am UTC](https://discuss.lfnw.org/t/blug-list-installing-from-source/292 "2021-07-22T01:00:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Kaiman](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@Mark\_Kaiman](https://discuss.lfnw.org/u/Mark_Kaiman)\
**Post date:** [July 22, 2021, 1:00am UTC](https://discuss.lfnw.org/t/blug-list-installing-from-source/292/1 "2021-07-22T01:00:45Z")

</div>

I am trying to install several packages to add extensions to my Clear Linux system. I downloaded the source and unpacked them. You can see from the attached screenshot that I am getting nowhere when I try to compile them. I don't understand what the errors mean. Can anyone tell me what I'm doing wrong? I'm sure this is easy for a lot of you, but I'd appreciate any help.

 ![Screenshot from 2021-07-21 17-55-40.png](https://canada1.discourse-cdn.com/flex035/uploads/lfnw/original/1X/556c4d8138df83a368fc3e064e79005229f035a8.png)

---

<div class="post-metadata">

**Author:** ![Kingsley](https://avatars.discourse-cdn.com/v4/letter/k/5f9b8f/32.png) [@Kingsley](https://discuss.lfnw.org/u/Kingsley)\
**Post date:** [July 22, 2021, 3:28am UTC](https://discuss.lfnw.org/t/blug-list-installing-from-source/292/2 "2021-07-22T03:28:46Z")

</div>

Hi Mark,

Thanks for the screen shot revealing the specific errors.

I expect someone like Phillip Walden would know  
better than yours truly, but I see two or three  
distinguishable errors.

1.) mkaiman@discovery~/Downloads/dash-to-dock-master $ ./configure  
&nbsp;&nbsp;&nbsp;&nbsp;bash: ./configure: No such file or directory

&nbsp;&nbsp;&nbsp;&nbsp;I suspect this happened because the directory  
&nbsp;&nbsp;&nbsp;&nbsp;you were currently working in

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mkaiman@discovery~/Downloads/dash-to-dock-master

&nbsp;&nbsp;&nbsp;&nbsp;doesn't contain a file named

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;configure

&nbsp;&nbsp;&nbsp;&nbsp;You can see this is so in the output of the  
&nbsp;&nbsp;&nbsp;&nbsp;previous command

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$ ls

2.) mkaiman@discovery~/Downloads/dash-to-dock-master $ make install  
&nbsp;&nbsp;&nbsp;&nbsp;Makefile:5: ../common/Makefile.common: No such file or directory

&nbsp;&nbsp;&nbsp;&nbsp;It would appear to me that the

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;install:

&nbsp;&nbsp;&nbsp;&nbsp;target (line) in

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Makefile

&nbsp;&nbsp;&nbsp;&nbsp;may ultimately refer to a file called

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;../common/Makefile.common

&nbsp;&nbsp;&nbsp;&nbsp;which doesn't exist.

&nbsp;&nbsp;&nbsp;&nbsp;I suspect

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mkaiman@discovery~/Downloads/dash-to-dock-master $ make  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Makefile:5: ../common/Makefile.common: No such file or directory

&nbsp;&nbsp;&nbsp;&nbsp;fails with the same error for the same reason.

3.) mkaiman@discovery~/Downloads/dash-to-dock-master $ makefile  
&nbsp;&nbsp;&nbsp;&nbsp;makefile: command not found

&nbsp;&nbsp;&nbsp;&nbsp;I suspect this happened because the directory  
&nbsp;&nbsp;&nbsp;&nbsp;you were currently working in

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mkaiman@discovery~/Downloads/dash-to-dock-master

&nbsp;&nbsp;&nbsp;&nbsp;doesn't contain a file called

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;makefile

&nbsp;&nbsp;&nbsp;&nbsp;You can see this is so in the output of the  
&nbsp;&nbsp;&nbsp;&nbsp;earlier command

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$ ls

&nbsp;&nbsp;&nbsp;&nbsp;but there is a

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Makefile

&nbsp;&nbsp;&nbsp;&nbsp;that I expect

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mkaiman@discovery~/Downloads/dash-to-dock-master $ make  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;uses by default.

Humble suggestions

1.) Check out what the 5th line of

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Makefile

&nbsp;&nbsp;&nbsp;&nbsp;is trying to do when it fails with

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;../common/Makefile.common: No such file or directory

&nbsp;&nbsp;&nbsp;&nbsp;Maybe it'll help

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;explain the error and

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ultimately fix it.

2.) Use the

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;find .. | egrep common

&nbsp;&nbsp;&nbsp;&nbsp;command to look for

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;../common/Makefile.common

&nbsp;&nbsp;&nbsp;&nbsp;If you don't find it, I'd wonder if maybe  
&nbsp;&nbsp;&nbsp;&nbsp;Clear Linux depends on more files being  
&nbsp;&nbsp;&nbsp;&nbsp;installed for your packages, like  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;../common/Makefile.common

3.) Consider watching a few cool videos on  
&nbsp;&nbsp;&nbsp;&nbsp;debugging makefiles, like some at

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Sorry](https://inv.riverside.rocks/search?q=debugging+linux+makefile+)

4.) I wonder if Clear Linux automatically  
&nbsp;&nbsp;&nbsp;&nbsp;installs dependencies, like other Linux  
&nbsp;&nbsp;&nbsp;&nbsp;distros.  
&nbsp;&nbsp;&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;If not, and you'd be open to testing another  
&nbsp;&nbsp;&nbsp;&nbsp;Linux distribution, maybe you could save  
&nbsp;&nbsp;&nbsp;&nbsp;yourself some admin time in the long run.  
&nbsp;&nbsp;&nbsp;&nbsp;  
I hope that helps, or was at least interesting,  
Kingsley

> **···**
>
> On 07/22/2021 01:00, Mark Kaiman wrote:
> 
> > I am trying to install several packages to add extensions to my Clear Linux system. I downloaded the source and unpacked them. You can see from the attached screenshot that I am getting nowhere when I try to compile them. I don't understand what the errors mean. Can anyone tell me what I'm doing wrong? I'm sure this is easy for a lot of you, but I'd appreciate any help.
> 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Bellingham Linux Users Group Mailing List  
> > To post send mail to - Blug-list@lists.blug.org  
> > To change options - [https://lists.blug.org/cgi-bin/mailman/listinfo/blug-list](https://lists.blug.org/cgi-bin/mailman/listinfo/blug-list)
> 
> --  
> Time is the fire in which we all burn.
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Bellingham Linux Users Group Mailing List  
> To post send mail to - Blug-list@lists.blug.org  
> To change options - [https://lists.blug.org/cgi-bin/mailman/listinfo/blug-list](https://lists.blug.org/cgi-bin/mailman/listinfo/blug-list)

---

<div class="post-metadata">

**Author:** ![John\_Weintraub](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@John\_Weintraub](https://discuss.lfnw.org/u/John_Weintraub)\
**Post date:** [July 22, 2021, 6:17am UTC](https://discuss.lfnw.org/t/blug-list-installing-from-source/292/3 "2021-07-22T06:17:32Z")

</div>

Hi;

I haven’t done a lot of compiling from source but I think I know what the problem is. The small apps and text files (scripts) that you want are installed into a different directory than where you are. So you have find out where the files (.config, make, etc.) are, and add the to your path. You can do this either temporarily or permanently.

Do so permanently by editing the .bash\_profile file to include the directory where the unpacked applications and scripts are stored. If you want to do it temporarily, use the export command (Debian, Ubuntu, Mint, etc.) or I _think_ you use the env command for Fedora and other RPM-based distros. But that only lasts for the duration of that shell session.

Google it or use DuckDuckGo (open-source search engine that respects privacy concerns) to find the specific information you need about command syntax.

I hope this helps.

Sincerely,  
John Weintraub (Linux+/LPIC-1)

> **···**
>
> On Wed., Jul. 21, 2021, 6:00 p.m. Mark Kaiman, \<[mkaiman@live.com](mailto:mkaiman@live.com)\> wrote:
> 
> > I am trying to install several packages to add extensions to my Clear Linux system. I downloaded the source and unpacked them. You can see from the attached screenshot that I am getting nowhere when I try to compile them. I don’t understand what the errors mean. Can anyone tell me what I’m doing wrong? I’m sure this is easy for a lot of you, but I’d appreciate any help.\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Bellingham Linux Users Group Mailing List  
> > To post send mail to - [Blug-list@lists.blug.org](mailto:Blug-list@lists.blug.org)  
> > To change options - [https://lists.blug.org/cgi-bin/mailman/listinfo/blug-list](https://lists.blug.org/cgi-bin/mailman/listinfo/blug-list)

---

<div class="post-metadata">

**Author:** ![chuckwolber](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@chuckwolber](https://discuss.lfnw.org/u/chuckwolber)\
**Post date:** [July 22, 2021, 6:48am UTC](https://discuss.lfnw.org/t/blug-list-installing-from-source/292/4 "2021-07-22T06:48:17Z")

</div>

You need to run the configure command first. It goes something like this:

./configure  
make  
make install

…Ch:W…

> **···**
>
> **"Perfection must be reached by degrees; she requires the slow hand of time." - Voltaire**

---

<div class="post-metadata">

**Author:** ![chuckwolber](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@chuckwolber](https://discuss.lfnw.org/u/chuckwolber)\
**Post date:** [July 22, 2021, 6:53am UTC](https://discuss.lfnw.org/t/blug-list-installing-from-source/292/5 "2021-07-22T06:53:10Z")

</div>

Whoops! Looks like you already did that. Sorry for not looking closely enough.

Where did you get that particular source package?

…Ch:W…

> **···**
>
> **"Perfection must be reached by degrees; she requires the slow hand of time." - Voltaire**

---

<div class="post-metadata">

**Author:** ![logan](https://avatars.discourse-cdn.com/v4/letter/l/278dde/32.png) [@logan](https://discuss.lfnw.org/u/logan)\
**Post date:** [September 3, 2021, 7:06am UTC](https://discuss.lfnw.org/t/blug-list-installing-from-source/292/6 "2021-09-03T07:06:42Z")

</div>

It is generally a bad idea to download git repos as zip files, lots of things break in unpredictable ways. If there are release snapshots, those generally work, or use `git clone $url` to fetch the project sources.

It’s also worth checking the project documentation for how to build, as there are sometimes advanced options enabled via switches, environment variables, or editing config files which are not immediately obvious just looking at the file names.

All that said, there is only _one_ “make-like” file in that project (no `configure`, no `CMakeLists.txt`, or any of the other telltale buildsystem files). That is `Makefile`, and is (by convention) a GNU-Make compatible file. (It also is mentioned in the project homepage that `make` is the program for building this). When I check the dash-to-dock git repo out and call `make` on the master branch, it compiles successfully. If this is still something you wish to try using, I would suggest doing a clean checkout and trying again.

If that doesn’t work, please explain where you got the download, and include your terminal scrollback as a gist so we can see _exactly_ what you ran.
