Progress on autostuff

H

Thread Starter

hopfgartner

It moves, even if it moves slowly.

I had some minutes on sunday to work on the
autoconf/automake infrastructure for mat.

Now the executables in ./lib are build (as suggested by Mario de Sousa), as are some of the executables in ./hmi.

I will commit it as soon as I have the chance to attach my laptop to the Internet (towords the end of the week).

Anyway, I still have some problem with the stuff in ./lang/tcl, but probaly working hard enough on it it will work.

Peter
_______________________________________________
LinuxPLC mailing list
[email protected] http://lists.linuxplc.org/mailman/listinfo/linuxplc


 
M

Mario de Sousa

> It moves, even if it moves slowly.
>
(...)
Well, I guess I could say the same about the modbus modules...

>
> Anyway, I still have some problem with the stuff in ./lang/tcl, but
> probaly working hard enough on it it will work.
>

Here is what I did to get it working: I added a line (number 69) to the
tcl.m4 file.

     if test x"${ac_cv_c_tclconfig}" = x ; then
       for i in `ls -d ${prefix}/lib 2>/dev/null` \
new line ->         `ls -d /usr/lib 2>/dev/null` \
        `ls -d /usr/local/lib 2>/dev/null` ; do
                  if test -f "$i/tclConfig.sh" ; then
                     ac_cv_c_tclconfig=`(cd $i; pwd)`

The above is an ugly hack, but it got it working until somebody with more knowledge than I could get it working properly.

For some strange reason it seems that the script is not looking under /usr/lib for the tclConfig.sh file, and that is where it is found in Debian installations!

It also seems that with your autoconf tools this file gets recreated automatically, so this change is discarded. We probably have to insert a fix somewhere else, and also figure out why the ${prefix} variable is not getting set to '/usr'.

Hope the above helps...

Cheers,

Mario.

----------------------------------------------------------------------------
Mario J. R. de Sousa
[email protected]
----------------------------------------------------------------------------

The box said it requires Windows 95 or better, so I installed Linux
_______________________________________________
LinuxPLC mailing list
[email protected]
http://lists.linuxplc.org/mailman/listinfo/linuxplc
 
M

Mario de Sousa

Peter Hopfgartner wrote:
>
> Let me know about any problem you have. I wrote down some items in the
> file KWNOWS-PROBLEMS.
>
> Enjoy,
>
> Peter
>
> P.S.: The CVS tree seems to be quite stationary.

;-)

I have been working quietly on my local copy without making any commits lately. This is mostly because
- only last week did I finally decide (well Curt and Jiri decided for me) how to structure the code, i.e. how to divide the code between files, and what to name them...
- I am still working on a pre-autotools version, so I could compile my code.

Maybe later on today I will commit the beginnings of the modbus module...

Cheers,

Mario.

----------------------------------------------------------------------------
Mario J. R. de Sousa
[email protected]
----------------------------------------------------------------------------
_______________________________________________
LinuxPLC mailing list
[email protected] http://lists.linuxplc.org/mailman/listinfo/linuxplc

 
Thread starter Similar threads Forum Replies Date
C Open Control 44
H LinuxPLC Project 3
J LinuxPLC Project 22
Top