TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Felipe T. Dorado
from: Kai Richter
date: 2006-08-25 10:58:18
subject: Compiling husky: no rules

Hey Felipe!

Am 21 Aug 06, Felipe T. Dorado schrieb an All:

 FD> But I have failed on the first step :(  Make does not find any rules.

"make" is not the first step. The first one is called rtfm. :)

 FD> gcc (GCC) 4.0.1 (Debian 4.0.1-2)

Hm, i don't know if that version will be fine for husky, but i hope you can
tell us later. :)

 FD> - I put source packages from sourceforge in /home/phil/husky14 and
 FD> decompressed each:

Good.

 FD> huskybase-1.4-tar.gz

Your entry point for the linux version of husky installation can be found
within the file INSTALL of the huskybse module, filename
huskybase-1.4-tar.gz.

You find example huskymak.cfg there, required for compilation.

Your friends will need at last the module hpt for tossing (check its
VERSION file for  requirements of hpt, then the VERSION files of the
following required modules) and an editor for reading/writing like golded
or, as part of the husky tree, msged, and finally a mailer to connect to
the fidonet network.

 FD> - copied huskymak.cfg from smapi/debian directory to the top level

Why? Who told you so? And who put the huskymak,cfg (the config file of the
husky modules) into smapi/debian (the module using the husky config)?
(Mine don't have huskymak.cfg in smapi/debian, version 2.4.0+rc5-1)

If you start with the first step: rtfm, you find that there is a
huskymak.cfg.debian in the huskybse (means huskybase) directory.

 FD> - did not change anything in the huskymak.cfg so as to leave per
 FD> default and because /usr/local is fine with me  (I presume that "and
 FD> change all values according to your needs" means that if I do not
 FD> change anything compilation should work fine).

Sorry, wrong. "Chance all values to your needs" means that you
MUST check at last ALL values to your needs. If you don't check, you have a
"unsure" config and maybe you are checking your problems at the
wrong place.

For example: The huskymak.cfg.debian does not have /usr/local for default
installation path. You may want to check the CFGDIR too. The Keyword
DYNLIBS may be a point of interesst if you think about later updates. (i
set 0)

I think the other values of huskymak.cfg.debian are good default.

 FD> - as root (to avoid possible access errors) I cd to smapi and type

ok.

 FD> # make clean
 FD> make: *** No hay ninguna regla para construir el objetivo `clean'.
 FD> Alto. (There's no rule to build object "clean". Stop.)

Strange. Do you have a "Makefile" (capital M) in your smapi
directory? Mine do have the "clean" target. My Makefile has:

+++ cut in +++
# Makefile for the Husky build environment

# include Husky-Makefile-Config
ifeq ($(DEBIAN), 1)
# Every Debian-Source-Paket has one included.
include /usr/share/husky/huskymak.cfg
else
include ../huskymak.cfg
endif
+++ cut out +++

a check for DEBIAN, that changes the path to the wrong huskymak.cfg? Strange!
But it compares with the huskybse/debian/rules file. I don't know how
debian handles that rules file.

If you read the INSTALL of the huskybse directory you found that debian is
not using legacy makefiles. The default linux makefile.lnx list "GNU
gcc (2.7..2.95, 3.x) for the compiler. You are using 4.x that may be
another problem.

 FD> I've also tried copying huskymak.cfg.debian to top directory renaming
 FD> it huskymak.cfg. No luck.

Ah, very good. Recheck its values. (you don't need luck to install husky ;-)

 FD> I've gone through the INSTALL file from top to bottom (as well as any
 FD> other doc I've found) and figured that since I'm using a Debian Linux
 FD> I should not need to use the legacy makefiles method.

Ah, we found out the same. :) Remember the gcc version.

 FD> My Points will never get as far as I've got.

If your points use the same Debian Version like you do, you can use
DYNLIBS=0 and give them the ready compiled binaries.

 FD> If there a debian package that I can apt-get install from some
 FD> repository ;?)

I still have problems to install Debian to my node with some hpt
controller, later i want to move husky to it. So i think i will run into
the same problems like you did.

 FD> But I have to understand it first.

Me too. Not the husky modules only, the Debian package system too. That
will need a long time.

Tschuess

Kai

--- GoldED+/LNX 1.1.4.7
* Origin: Freie Bahn fuer Opa Neumann! (2:244/1351.7)
SEEN-BY: 633/267 270
@PATH: 244/1351 1500 1200 2432/200 2411/413 20/11 237/9 236/150 261/38 123/500
@PATH: 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.