All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] packaging problem with latest CVS snapshot ?
@ 2006-01-28 17:57 Jim Cromie
  2006-01-28 18:02 ` Rudolf Marek
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jim Cromie @ 2006-01-28 17:57 UTC (permalink / raw)
  To: lm-sensors


I just pulled lm_sensors-daily.tar.gz, unpacked and ran make,
got this error:

[jimc at harpo lm_sensors2]$ make user
...
gcc -M -MG -I. -Ikernel/include -I/usr/local/include  -DSYSFS_SUPPORT 
-fpic -Wall -O2  lib/error.c | \
sed -e 's@^\(.*\)\.o:@lib/error.ld lib/error.lo: Makefile '`dirname 
lib/error.ld`/Module.mk' @' > lib/error.ld
gcc -M -MG -I. -Ikernel/include -I/usr/local/include  -DSYSFS_SUPPORT 
-fpic -Wall -O2  lib/general.c | \
sed -e 's@^\(.*\)\.o:@lib/general.ld lib/general.lo: Makefile '`dirname 
lib/general.ld`/Module.mk' @' > lib/general.ld
gcc -M -MG -I. -Ikernel/include -I/usr/local/include  -DSYSFS_SUPPORT 
-fpic -Wall -O2  lib/data.c | \
sed -e 's@^\(.*\)\.o:@lib/data.ld lib/data.lo: Makefile '`dirname 
lib/data.ld`/Module.mk' @' > lib/data.ld
( grep 'SENSORS SYSCTL START' /dev/null kernel/chips/*.c | \
  sed -e 's/:.*//' -e 's#^#kernel/include/sensors.h: #' ) > 
kernel/include/sensors.hd
cat kernel/include/sensors.h.template > kernel/include/sensors.h
awk '/SENSORS SYSCTL START/,/SENSORS SYSCTL END/' kernel/chips/*.c >> 
kernel/include/sensors.h
echo '#endif' >> kernel/include/sensors.h
gcc -M -MG -DETCDIR="\"/etc\"" -I. -Ikernel/include 
-I/usr/local/include  -Wundef -Wall -O2  prog/sensors/chips.c | \
sed -e 's@^\(.*\)\.o:@prog/sensors/chips.rd prog/sensors/chips.ro: 
Makefile '`dirname prog/sensors/chips.rd`/Module.mk' @' > 
prog/sensors/chips.rd
make: *** No rule to make target `sysfs/libsysfs.h', needed by 
`lib/sysfs.ad'.  Stop.





A very similar thing happened when I pulled from SVN.
I pulled the entire tree, was unhappy with the great gobs of stuff I 
didnt need,
and pruned everything but the lmsensors2 stuff.
When I got the error (like above) I figured I over-trimmed,
but seeing above, maybe that wasnt the trouble.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [lm-sensors] packaging problem with latest CVS snapshot ?
  2006-01-28 17:57 [lm-sensors] packaging problem with latest CVS snapshot ? Jim Cromie
@ 2006-01-28 18:02 ` Rudolf Marek
  2006-01-28 20:37 ` Jim Cromie
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Rudolf Marek @ 2006-01-28 18:02 UTC (permalink / raw)
  To: lm-sensors

Jim Cromie wrote:
> I just pulled lm_sensors-daily.tar.gz, unpacked and ran make,
> got this error:
> 

See our news. You need libsysfs (or package)
Regards
Rudolf


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [lm-sensors] packaging problem with latest CVS snapshot ?
  2006-01-28 17:57 [lm-sensors] packaging problem with latest CVS snapshot ? Jim Cromie
  2006-01-28 18:02 ` Rudolf Marek
@ 2006-01-28 20:37 ` Jim Cromie
  2006-01-28 20:56 ` Rudolf Marek
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Jim Cromie @ 2006-01-28 20:37 UTC (permalink / raw)
  To: lm-sensors

Rudolf Marek wrote:
> Jim Cromie wrote:
>   
>> I just pulled lm_sensors-daily.tar.gz, unpacked and ran make,
>> got this error:
>>
>>     
>
> See our news. You need libsysfs (or package)
> Regards
> Rudolf
>
>   
OK.   neccessary but insufficient:

[jimc at harpo lm_sensors2]$ make user
...
gcc -M -MG -DETCDIR="\"/etc\"" -I. -Ikernel/include 
-I/usr/local/include  -Wundef -Wall -O2  prog/dump/i2cdump.c | \
sed -e 's@^\(.*\)\.o:@prog/dump/i2cdump.rd prog/dump/i2cdump.ro: 
Makefile '`dirname prog/dump/i2cdump.rd`/Module.mk' @' > 
prog/dump/i2cdump.rd
gcc -M -MG -DETCDIR="\"/etc\"" -I. -Ikernel/include 
-I/usr/local/include  -Wundef -Wall -O2  prog/detect/i2cdetect.c | \
sed -e 's@^\(.*\)\.o:@prog/detect/i2cdetect.rd prog/detect/i2cdetect.ro: 
Makefile '`dirname prog/detect/i2cdetect.rd`/Module.mk' @' > 
prog/detect/i2cdetect.rd
make: *** No rule to make target `sysfs/libsysfs.h', needed by 
`lib/sysfs.ad'.  Stop.


its there:
$ ll /usr/local/include/sysfs/
total 20
-rw-r--r--  1 root root 7401 Jan 28 12:35 dlist.h
-rw-r--r--  1 root root 8586 Jan 28 12:35 libsysfs.h


still looking..  any idea ?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [lm-sensors] packaging problem with latest CVS snapshot ?
  2006-01-28 17:57 [lm-sensors] packaging problem with latest CVS snapshot ? Jim Cromie
  2006-01-28 18:02 ` Rudolf Marek
  2006-01-28 20:37 ` Jim Cromie
@ 2006-01-28 20:56 ` Rudolf Marek
  2006-01-28 22:04 ` Jean Delvare
  2006-01-28 22:10 ` Jim Cromie
  4 siblings, 0 replies; 6+ messages in thread
From: Rudolf Marek @ 2006-01-28 20:56 UTC (permalink / raw)
  To: lm-sensors


> OK.   neccessary but insufficient:
> 
> [jimc at harpo lm_sensors2]$ make user
> ...
> gcc -M -MG -DETCDIR="\"/etc\"" -I. -Ikernel/include
> -I/usr/local/include  -Wundef -Wall -O2  prog/dump/i2cdump.c | \
> sed -e 's@^\(.*\)\.o:@prog/dump/i2cdump.rd prog/dump/i2cdump.ro:
> Makefile '`dirname prog/dump/i2cdump.rd`/Module.mk' @' >
> prog/dump/i2cdump.rd
> gcc -M -MG -DETCDIR="\"/etc\"" -I. -Ikernel/include
> -I/usr/local/include  -Wundef -Wall -O2  prog/detect/i2cdetect.c | \
> sed -e 's@^\(.*\)\.o:@prog/detect/i2cdetect.rd prog/detect/i2cdetect.ro:
> Makefile '`dirname prog/detect/i2cdetect.rd`/Module.mk' @' >
> prog/detect/i2cdetect.rd
> make: *** No rule to make target `sysfs/libsysfs.h', needed by
> `lib/sysfs.ad'.  Stop.
> 
> 
> its there:
> $ ll /usr/local/include/sysfs/
> total 20
> -rw-r--r--  1 root root 7401 Jan 28 12:35 dlist.h
> -rw-r--r--  1 root root 8586 Jan 28 12:35 libsysfs.h
> 
> 
> still looking..  any idea ?
hmm no, sorry, I'm not very good with Makefiles...
Please try to fix it and send a patch.

Thanks,
regards
Rudolf


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [lm-sensors] packaging problem with latest CVS snapshot ?
  2006-01-28 17:57 [lm-sensors] packaging problem with latest CVS snapshot ? Jim Cromie
                   ` (2 preceding siblings ...)
  2006-01-28 20:56 ` Rudolf Marek
@ 2006-01-28 22:04 ` Jean Delvare
  2006-01-28 22:10 ` Jim Cromie
  4 siblings, 0 replies; 6+ messages in thread
From: Jean Delvare @ 2006-01-28 22:04 UTC (permalink / raw)
  To: lm-sensors

Hi Jim,

> > See our news. You need libsysfs (or package)
>
> OK.   neccessary but insufficient:
> 
> [jimc at harpo lm_sensors2]$ make user
> ...
> gcc -M -MG -DETCDIR="\"/etc\"" -I. -Ikernel/include 
> -I/usr/local/include  -Wundef -Wall -O2  prog/dump/i2cdump.c | \
> sed -e 's@^\(.*\)\.o:@prog/dump/i2cdump.rd prog/dump/i2cdump.ro: 
> Makefile '`dirname prog/dump/i2cdump.rd`/Module.mk' @' > 
> prog/dump/i2cdump.rd
> gcc -M -MG -DETCDIR="\"/etc\"" -I. -Ikernel/include 
> -I/usr/local/include  -Wundef -Wall -O2  prog/detect/i2cdetect.c | \
> sed -e 's@^\(.*\)\.o:@prog/detect/i2cdetect.rd prog/detect/i2cdetect.ro: 
> Makefile '`dirname prog/detect/i2cdetect.rd`/Module.mk' @' > 
> prog/detect/i2cdetect.rd
> make: *** No rule to make target `sysfs/libsysfs.h', needed by 
> `lib/sysfs.ad'.  Stop.
> 
> 
> its there:
> $ ll /usr/local/include/sysfs/
> total 20
> -rw-r--r--  1 root root 7401 Jan 28 12:35 dlist.h
> -rw-r--r--  1 root root 8586 Jan 28 12:35 libsysfs.h
> 
> still looking..  any idea ?

Make sure you run "make clean" before running "make user" again. Our
build system is not very robust (to say the least) and gets easily
confused.

-- 
Jean Delvare


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [lm-sensors] packaging problem with latest CVS snapshot ?
  2006-01-28 17:57 [lm-sensors] packaging problem with latest CVS snapshot ? Jim Cromie
                   ` (3 preceding siblings ...)
  2006-01-28 22:04 ` Jean Delvare
@ 2006-01-28 22:10 ` Jim Cromie
  4 siblings, 0 replies; 6+ messages in thread
From: Jim Cromie @ 2006-01-28 22:10 UTC (permalink / raw)
  To: lm-sensors

Jean Delvare wrote:
> Hi Jim,
>
>   
>>> See our news. You need libsysfs (or package)
>>>       
>> OK.   neccessary but insufficient:
>>
>> [jimc at harpo lm_sensors2]$ make user
>> ...
>> gcc -M -MG -DETCDIR="\"/etc\"" -I. -Ikernel/include 
>> -I/usr/local/include  -Wundef -Wall -O2  prog/dump/i2cdump.c | \
>> sed -e 's@^\(.*\)\.o:@prog/dump/i2cdump.rd prog/dump/i2cdump.ro: 
>> Makefile '`dirname prog/dump/i2cdump.rd`/Module.mk' @' > 
>> prog/dump/i2cdump.rd
>> gcc -M -MG -DETCDIR="\"/etc\"" -I. -Ikernel/include 
>> -I/usr/local/include  -Wundef -Wall -O2  prog/detect/i2cdetect.c | \
>> sed -e 's@^\(.*\)\.o:@prog/detect/i2cdetect.rd prog/detect/i2cdetect.ro: 
>> Makefile '`dirname prog/detect/i2cdetect.rd`/Module.mk' @' > 
>> prog/detect/i2cdetect.rd
>> make: *** No rule to make target `sysfs/libsysfs.h', needed by 
>> `lib/sysfs.ad'.  Stop.
>>
>>
>> its there:
>> $ ll /usr/local/include/sysfs/
>> total 20
>> -rw-r--r--  1 root root 7401 Jan 28 12:35 dlist.h
>> -rw-r--r--  1 root root 8586 Jan 28 12:35 libsysfs.h
>>
>> still looking..  any idea ?
>>     
>
> Make sure you run "make clean" before running "make user" again. Our
> build system is not very robust (to say the least) and gets easily
> confused.
>
>   

BINGO!  ( in case that doesnt translate, its"I win!" ) 
thanks


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-01-28 22:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-28 17:57 [lm-sensors] packaging problem with latest CVS snapshot ? Jim Cromie
2006-01-28 18:02 ` Rudolf Marek
2006-01-28 20:37 ` Jim Cromie
2006-01-28 20:56 ` Rudolf Marek
2006-01-28 22:04 ` Jean Delvare
2006-01-28 22:10 ` Jim Cromie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.