[vz-dev] vzlogger

Gerhard Bertelsmann info at gerhard-bertelsmann.de
Thu Sep 15 23:08:53 CEST 2011


noob alarm :) I Got libsml from:
https://github.com/dailab/libsml.git

I have exported the paths:
gerd at dockstar ~/test/vzlogger (git)-[master] % export
DEPS_SML_CFLAGS=-I/home/gerd/libsml/sml/include
gerd at dockstar ~/test/vzlogger (git)-[master] % export
DEPS_SML_LIBS=/home/gerd/libsml/sml/lib

getting now:

src/options.c: In function ‘parse_channels’:
src/options.c:173: error: ‘meter_conn_t’ undeclared (first use in this
function)
src/options.c:173: error: (Each undeclared identifier is reported only once
src/options.c:173: error: for each function it appears in.)
src/options.c:173: error: expected ‘;’ before ‘connection’
make[2]: *** [options.o] Error 1
make[2]: Leaving directory `/home/gerd/test/vzlogger/bin/logger'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gerd/test/vzlogger'
make: *** [all] Error 2

Regards

Gerd


Am Do, 15.09.2011, 22:33, schrieb Gerhard Bertelsmann:
> Hi Steffen,
>
> many thx for your fast responese :-).
>
> Ups. Didn't read this in the INSTALL file. Sorry.
> I have run autoconf.sh an get now:
>
> gerd at dockstar ~/vzlogger (git)-[master] % ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> ...
> checking for strtol... yes
> checking for DEPS_SML... no
> configure: error: Package requirements (sml >= 0.1) were not met:
>
> No package 'sml' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables DEPS_SML_CFLAGS
> and DEPS_SML_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
> ./configure  10.95s user 2.93s system 58% cpu 23.860 total
>
> Thougth, that sml (/lib) would be part of vzlogger. Do I need
> to get it from different source ?
>
> Regards
>
> Gerd
>
>
>
> Am Do, 15.09.2011, 21:48, schrieb Steffen Vogel:
>> Hi Gerd,
>>
>> We are using the GNU autotools to build vzlogger.
>> Autotools is a buildsystem which lets you ./configure and generates
>> Makefiles for you.
>>
>> As developer, you normally create these files with a call
>> to ./autogen.sh.
>>
>> But for this you need a complete autotools install. I think we should
>> add these files, generated by autotools, to the repositoy (adds some
>> redunancy).
>>
>> Unfortunatly I forgot to commit some of the required files ;)
>> I added the to the repository by now. You can try it again.
>>
>> Steffen
>>
>>
>> Am Donnerstag, den 15.09.2011, 21:31 +0200 schrieb Gerhard Bertelsmann:
>>> I get an error compiling vzlogger:
>>>
>>> gerd at dockstar ~ % git clone https://github.com/volkszaehler/vzlogger
>>> Cloning into vzlogger...
>>> remote: Counting objects: 436, done.
>>> remote: Compressing objects: 100% (195/195), done.
>>> remote: Total 436 (delta 238), reused 414 (delta 216)
>>> Receiving objects: 100% (436/436), 484.40 KiB | 410 KiB/s, done.
>>> Resolving deltas: 100% (238/238), done.
>>> gerd at dockstar ~ % cd vzlogger
>>> gerd at dockstar ~/vzlogger (git)-[master] % ./configure
>>> configure: error: cannot find install-sh, install.sh, or shtool in "."
>>> "./.." "./../.."
>>>
>>> install.sh is missing ...
>>
>>
>> --
>> Steffen Vogel
>> Robensstraße 69
>> 52070 Aachen
>>
>> Handy: +49 176 96978528
>> Mail: info at steffenvogel.de
>> Web: http://www.steffenvogel.de
>> Jabber: stv0g at jabber.ccc.de
>> ICQ: 236033
>> _______________________________________________
>> volkszaehler-dev mailing list
>> volkszaehler-dev at lists.volkszaehler.org
>> https://volkszaehler.org/mailman/listinfo/volkszaehler-dev
>>
>
>
> _______________________________________________
> volkszaehler-dev mailing list
> volkszaehler-dev at lists.volkszaehler.org
> https://volkszaehler.org/mailman/listinfo/volkszaehler-dev
>




More information about the volkszaehler-dev mailing list