How to compile?


Recommended Posts

Hi, I would like to compile some cool toys and utilities from this repository. (It's the official Linspire 5.0 source repository). http://software.linspire.com/pool-src/los/

The problem is that I can't work out how to compile anything from there. The first thing I would like to try is the Linspire KDE clear theme which I would like to install in my current distro (which is Kanotix).

It can be downloaded from here

Normally I just do ./configue, make and make install - and this works pretty good. But there is no 'configure file' in these packages.

This repository also contains ltunes and lphoto - both of which are good apps and both of which I would very much like to try. (It's all GPL BTW).

Any input on how to compile these apps would be very much appreciated.

GJ

Link to comment
https://www.neowin.net/forum/topic/315523-how-to-compile/
Share on other sites

Strange, this Install instructions for that package say

The simplest way to compile this package is:

  1. `cd' to the directory containing the package's source code and type

    `./configure' to configure the package for your system.  If you're

    using `csh' on an old version of System V, you might need to type

    `sh ./configure' instead to prevent `csh' from trying to execute

    `configure' itself.

    Running `configure' takes a while.  While running, it prints some

    messages telling which features it is checking for.

  2. Type `make' to compile the package.

  3. Type `make install' to install the programs and any data files and

    documentation.

:unsure:

Link to comment
https://www.neowin.net/forum/topic/315523-how-to-compile/#findComment-585861682
Share on other sites

Am I going crazy or something? Here is a list of the files in that archive.

I just downloaded again to check.

dir
AUTHORS      INSTALL         Makefile.calls.in  README        autom4te.cache   decoration
COPYING      MakeVars        Makefile.cvs       TODO          config.h.in      stamp-h.in
COPYING.LIB  MakeVars.in     Makefile.rules     acinclude.m4  configure.files  style
ChangeLog    Makefile.am     Makefile.rules.in  aclocal.m4    configure.in.in  subdirs
Doxyfile     Makefile.calls  NEWS               admin         debian

Where exactly do you guys see the configure script in that list?

There are a few files called configure.xyz but they are not the configure script. Did any of you even try running configure on these files before posting?

I read the docs, I did what I have done 1000 times before (./configure, make make install and so on), but I keep getting a message that there is no such file called configure - which there is not. Configure is normally a script on it's own, it doesn't have any additional extensions. It is just 'configure'. Plain and simple.

The readme mentions some utility called automake that needs to be run in order to generate the configure script, but it does not give the syntax on how to run it in order to generate configure.

If anyone has any ideas or knows how to do this, I would very much appreciate your input.

GJ

Link to comment
https://www.neowin.net/forum/topic/315523-how-to-compile/#findComment-585863489
Share on other sites

Am I going crazy or something? Here is a list of the files in that archive.

I just downloaded again to check.

dir
AUTHORS      INSTALL         Makefile.calls.in  README        autom4te.cache   decoration
COPYING      MakeVars        Makefile.cvs       TODO          config.h.in      stamp-h.in
COPYING.LIB  MakeVars.in     Makefile.rules     acinclude.m4  configure.files  style
ChangeLog    Makefile.am     Makefile.rules.in  aclocal.m4    configure.in.in  subdirs
Doxyfile     Makefile.calls  NEWS               admin         debian

Where exactly do you guys see the configure script in that list?

There are a few files called configure.xyz but they are not the configure script. Did any of you even try running configure on these files before posting?

I read the docs, I did what I have done 1000 times before (./configure, make make install and so on), but I keep getting a message that there is no such file called configure - which there is not. Configure is normally a script on it's own, it doesn't have any additional extensions. It is just 'configure'. Plain and simple.

The readme mentions some utility called automake that needs to be run in order to generate the configure script, but it does not give the syntax on how to run it in order to generate configure.

If anyone has any ideas or knows how to do this, I would very much appreciate your input.

GJ

585863489[/snapback]

It seems to me that there are a few steps missing in there. Wouldn't surprise me that they would make it a bit difficult to get it on your own. Unfortunately it is beyond me right now what to do with it.

Link to comment
https://www.neowin.net/forum/topic/315523-how-to-compile/#findComment-585863608
Share on other sites

  • 2 weeks later...
The problem is that I can't work out how to compile anything from there. The first thing I would like to try is the Linspire KDE clear theme which I would like to install in my current distro (which is Kanotix).

To generate the config file type the following in the Linspire Clear subdirectory:

make -f admin/Makefile.common

You might get some error messages about make being out of date. If your automake is truly higher than 1.6 then just edit cvs.sh and take out the "exit 1" statements under the KDE automake check.

rss_logo.gif

Link to comment
https://www.neowin.net/forum/topic/315523-how-to-compile/#findComment-585921634
Share on other sites

Solved:

Download and extract the package then once in its source directory since there is a debian directory with a rules file in it, fakeroot debian/rules binary this should compile and generate a .deb package that you can install. (look one directory level up from the drirectory you ran this command in for the .deb). BTW if have you heard of apt-file? You are probably going to need it to get all the -dev packages will need to build the package if/when you get error about not finding such and such file. You will need to look to see which compiler tools are missing and which you need to fetch via apt.

Works like a treat. Now you can have anything that Linspire provide (So long as it is GPL).

GJ

Link to comment
https://www.neowin.net/forum/topic/315523-how-to-compile/#findComment-585921660
Share on other sites

To generate the config file type the following in the Linspire Clear subdirectory:

make -f admin/Makefile.common

You might get some error messages about make being out of date.  If your automake is truly higher than 1.6 then just edit cvs.sh and take out the "exit 1" statements under the KDE automake check.

rss_logo.gif

585921634[/snapback]

Cool, I hope that works for non Debian systems too. :)

What is very cool though is I now have lphoto, lsongs - and quite a few other neat things from Lindows. All legal and free. It may not be what they want, but since it is all GPL, I don't think they have much choice.

BTW for those who are interested (you only have to go up a level to find it) these are the two most interesting directories.

http://software.linspire.com/pool-src/

http://software.linspire.com/pool-src/l/

I hope this helps someone. :)

GJ

Edited by raid517
Link to comment
https://www.neowin.net/forum/topic/315523-how-to-compile/#findComment-585921664
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

  • Recent Achievements

    • One Year In
      Console General earned a badge
      One Year In
    • One Year In
      Twozo Technologies earned a badge
      One Year In
    • One Month Later
      Twozo Technologies earned a badge
      One Month Later
    • Week One Done
      Twozo Technologies earned a badge
      Week One Done
    • Veteran
      branfont went up a rank
      Veteran
  • Popular Contributors

    1. 1
      +primortal
      510
    2. 2
      +Edouard
      200
    3. 3
      PsYcHoKiLLa
      131
    4. 4
      Steven P.
      89
    5. 5
      neufuse
      74
  • Tell a friend

    Love Neowin? Tell a friend!