:: Re: [DNG] Experiencing with GtkBuil…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: KatolaZ
Datum:  
To: aitor_czr
CC: dng
Betreff: Re: [DNG] Experiencing with GtkBuilder
On Thu, Nov 26, 2015 at 01:16:05PM +0100, aitor_czr wrote:
> Hi Rainer,
>
> I added cmake, which generates the makefile:
>
> https://gitlab.com/aitor_czr/spinner/commits/master
>
> How to build:
>
> mkdir build
> cd build
> cmake ../
> make
>


Again, sorry for playing auldie auntie, but why on planet Earth should
the user be requested to "mkdir build" if a directory named "build" is
actually required every single time one attempts to compile the
package? Also, why not allowing just "cmake" on the main directory
instead than using a contorsionism like "cd build; cmake ../"?!?!?

There is no widely used package out there for which compilation
requires to create directories and/or wander around the
filesystem. The striking majority of packages is built and installed
just by typying "tar -zxf ${filename}.tar.gz; cd ${filename};
configure (or cmake); make; make install". That's for a simple reason:
principle of least surprise.

Sorry again, but I really can't see why we should unduly
overcomplicate things that are usually just simple...

My2Cents

KatolaZ

--
[ Enzo Nicosia aka KatolaZ --- GLUG Catania -- Freaknet Medialab ]
[ me [at] katolaz.homeunix.net -- http://katolaz.homeunix.net -- ]
[ GNU/Linux User:#325780/ICQ UIN: #258332181/GPG key ID 0B5F062F ]
[ Fingerprint: 8E59 D6AA 445E FDB4 A153 3D5A 5F20 B3AE 0B5F 062F ]