Hello,
In order to view statistics provided by rstatd, I
attempted to install the textmeter program, as it was
shown as an example viewer on the rstatd project site.
configure worked fine, but make encountered a problem.
Can you possibly help me understand how to solve this
so I can get textmeter installed?
Thanks!
user123@linux123:~/textmeter-1.0> make
rm -f rstat.h
/usr/bin/rpcgen -h rstat.x | /usr/bin/sed -e
's/__stdc__/__STDC__/g' > rstat.h
make all-am
make[1]: Entering directory `/home/user123/textmeter-1.0'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT
curses_display.o -MD -MP -MF ".deps/curses_display.Tpo"
-c -o curses_display.o curses_display.c; \
then mv -f ".deps/curses_display.Tpo"
".deps/curses_display.Po"; else rm -f
".deps/curses_display.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT
global.o -MD -MP -MF ".deps/global.Tpo" -c -o global.o
global.c; \
then mv -f ".deps/global.Tpo" ".deps/global.Po"; else
rm -f ".deps/global.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT
display.o -MD -MP -MF ".deps/display.Tpo" -c -o
display.o display.c; \
then mv -f ".deps/display.Tpo" ".deps/display.Po"; else
rm -f ".deps/display.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT
host.o -MD -MP -MF ".deps/host.Tpo" -c -o host.o host.c; \
then mv -f ".deps/host.Tpo" ".deps/host.Po"; else rm -f
".deps/host.Tpo"; exit 1; fi
host.c: In function `host_update':
host.c:317: error: assignment of read-only location
host.c:317: error: assignment of read-only location
host.c:318: error: assignment of read-only member `users'
host.c: In function `host_scale_value':
host.c:756: error: assignment of read-only member
`scalevalue'
host.c:801: error: assignment of read-only member
`scalevalue'
make[1]: *** [host.o] Error 1
make[1]: Leaving directory `/home/user123/textmeter-1.0'
make: *** [all] Error 2
Logged In: YES
user_id=596340
Please report: OS version and GCC version where you
encountered the problem
Logged In: YES
user_id=1418079
Hello,
The OS is SuSE Professional 9.2, and gcc is:
gcc version 3.3.4 (pre 3.3.5 20040809)
Regards,
Dave
Logged In: NO
I'm getting the same problem. I installed textmeter on one
system with no problems and then ran into this issue
trying to install on different machine with same hardware
and OS config.