Hello folks.
I just wanted to let you know that I will not have time to work with
the Solaris problem I had. My assignments have changed and I do not
have access to a Solaris box in the future.
If I do get a chance too pick this up, I will.
--
Br, Emil
----- Ursprungligt Meddelande -----
Ämne: Re: [Check-users] check 0.9.6 on Solaris?
Från: Chris Pickett
Till: "Emil Hevald"
CC: "check-users@..."
Datum: 2009-01-23 14:29
Emil Hevald wrote:
> I was too fast with that last email. I should have added that it
do
> compile with the lastest version from svn (downloaded from
sourceforge
> webpage). 0.9.6 do not compile on my Solaris system, and the error
is
> the same as in my first email. So I guess the fix that was made in
this
> area after 0.9.6 at least do the trick on Solaris.
>
> Sorry for the spam. :)
That's okay... now we know to release 0.9.7 fairly soonish.
Portability
testing and reports are always useful.
Cheers,
Chris
> --
> BR, Emil
>
> ----- Ursprungligt Meddelande -----
> *Ämne: *Re: [Check-users] check 0.9.6 on Solaris?
> *Från: *Emil Hevald
> *Till: *"check-users@..."
>
> *Datum: *2009-01-23 9:50
>
>
> Hi.
>
> In case someone run into the same problem I had. Here is what
was
> wrong in my setup.
>
> I noticed that libtool had it's own aclocal files under
.../share/.
> But since I installed all my GNU tools in their own directory
> structure, hence running "./configure
> --prefix=$HOME/GNU/". This have the
> affect that the aclocal (m4) files for libtools are not found
by
> aclocal when it try to build the aclocal.m4 file. I guess when
using
> this setup you need to make sure that you add "-I m4
files>" to your aclocal call.
>
> However, I just rebuilt the packages into the same directory
> structure and it all worked "out of the box". In other words I
did
> ".configure --prefix=$HOME/GNU/tools" for all packages so that
> directory bin, share etc end up in the same "tools" folder.
This
> will make aclocal find the files it needs, libtool in this
case.
>
> The link problem I had still remain though. But the -ansi flag
for
> the compilation works now. But using --disable-shared make it
build
> the check lib.
>
> --
> BR, Emil
>
>
> ----- Ursprungligt Meddelande -----
> *Ämne: *Re: [Check-users] check 0.9.6 on Solaris?
> *Från: *Emil Hevald
> *Till: *"Chris Pickett"
> *CC: *"check-users@..."
>
> *Datum: *2009-01-23 8:14
>
>
> Hi Chris.
>
> I did build the tools from source. I guess I need to try
to
> understand autoconf a bit more. :)
>
> Thanks for your help.
>
> --
> BR, Emil
>
> ----- Ursprungligt Meddelande -----
> *Ämne: *Re: [Check-users] check 0.9.6 on Solaris?
> *Från: *Chris Pickett
> *Till: *"Emil Hevald"
> *CC: *"check-users@..."
>
> *Datum: *2009-01-22 18:49
>
>
> Hi Emil,
>
> I guess I have one idea: if you try building the
autoconf,
> automake, and
> libtool sources instead of using binary packages that
you
> expand in your
> home directory, that might help. Sometimes binaries
are
> expected to be
> installed in standard locations, and have hardcoded
paths,
> which is why
> they might be finding old versions. It's really easy
to
> build autoconf,
> automake, and libtool: just ./configure
> --prefix=$HOME/ &&
> gmake && gmake install.
>
> If that doesn't work, I think you need to contact
> bug-autoconf@...
>
> Cheers,
> Chris
>
> Emil Hevald wrote:
> > Hi Chris.
> >
> > I do not have access to svn (not installed), but I
> downloaded the "GNU
> > tarball" from
> >
>
http://check.svn.sourceforge.net/viewvc/check.tar.gz?view=tar.
> I guess
> > that is "latest" source as well?
> >
> > I installed the latest version of automake,
autoreconf
> and libtool that
> > I found, and tried on the source I downloaded. But
there
> seem to be a
> > problem with my libtool installation.
> >
> > ~/check/check/trunk > autoreconf --version
> > autoreconf (GNU Autoconf) 2.63
> >
> > ~/check/check/trunk > autoreconf -vif -W all
> > autoreconf: Entering directory `.'
> > autoreconf: configure.ac: not using Gettext
> > autoreconf: running: aclocal --force -I m4
> > autoreconf: configure.ac: tracing
> > configure.ac:41: warning: The macro
`AC_HELP_STRING' is
> obsolete.
> > configure.ac:41: You should run autoupdate.
> > ../../lib/autoconf/general.m4:209: AC_HELP_STRING
is
> expanded from...
> > .....
> > ..... A lot more of these kinds of warnings .
> > .....
> > configure.ac:84: error: possibly undefined macro:
> AC_PROG_LIBTOOL
> > If this token and others are legitimate, please use
> m4_pattern_allow.
> > See the Autoconf documentation.
> > autoreconf: ~/GNU/autoconf/bin/autoconf failed with
exit
> status: 1
> >
> > After searching the web for an answers on this
fault it
> seem that people
> > with similar faults hade old libtool installed. And
I
> guess it might
> > find the old version that reside in the system
here.
> >
> > ~/check/check/trunk > libtool --version
> > ltmain.sh (GNU libtool) 2.2.6
> >
> > But looking at this, it should find the correct
one. The
> old libtool
> > should not even be in my PATH.
> >
> > Any suggestions on what could be the problem?
> >
> > Thanks in advance!
> >
> > --
> > BR, Emil
> >
> >
> >
> > ----- Ursprungligt Meddelande -----
> > *Ämne: *Re: [Check-users] check 0.9.6 on
Solaris?
> > *Från: *Chris Pickett
> > *Till: *"Emil Hevald"
> > *CC: *"check-users@..."
> >
> > *Datum: *2009-01-22 2:36
> >
> >
> > Hi Emil,
> >
> > Thanks for the bug report. check-users or
check-devel is
> fine, there
> > isn't a lot of traffic on either.
> >
> > First of all, you could simply build the latest
versions
> of autoconf,
> > automake, and libtool in your home directory. I do
this
> often.
> >
> > Second, try updating to the latest SVN version of
check:
> >
> > svn co
https://check.svn.sourceforge.net/svnroot/check check
> >
> > There has been some work in the portability area
> specifically since
> > 0.9.6 and your problem may have already been fixed.
> >
> > Third, by all means let us know if you still have a
problem.
> >
> > Cheers,
> > Chris
> >
> > Emil Hevald wrote:
> > > Oh, found a test flag in the changelog. And
running the
> tests
> > without
> > > timeout tests will make the test suite compile,
and run
> without
> > errors.
> > > If I build the check lib as described below.
> > >
> > > --
> > > Br, Emil
> > >
> > >
> > > ----- Ursprungligt Meddelande -----
> > > *Ämne: *[Check-users] check 0.9.6 on
Solaris?
> > > *Från: *Emil Hevald
> > > *Till: *"check-users@..."
> > >
> > > *Datum: *2009-01-21 8:51
> > >
> > >
> > > Hello folks.
> > >
> > > I am new to this list, and not sure if this
rather
> belong in
> > > check-devel? I have been using check on Solaris
before,
> some years
> > > ago (0.9.5). And is about to try it out again,
but have
> been unable
> > > to build 0.9.6 on my Solaris system. Seem like
there is
> something in
> > > the makefiles since 0.9.5 do build on my system,
at
> least the check
> > > lib. The test code do not work since it uses
[un]setenv
> while
> > > Solaris only support putenv.
> > >
> > >
> > > checking for putenv... yes
> > > checking for setenv... no
> > >
> > > I guess this could be solved with a check in the
test
> code for
> > > HAVE_SETENV. But that's not a big issue for me
atm.
> > >
> > > Before going into details, I need to say that I
do not
> have the
> > > correct versions of autoconf and automake. But I
am not
> sure if that
> > > is the problem here? Since I use ./configure and
gmake
> (GNU make),
> > > and can get it to produce a lib in the end.
Anyway....
> > >
> > > When doing ./configure;gmake I get an error when
trying
> to build
> > > check_run.c. The log below is just the error
printed,
> not the entire
> > > printout.
> > >
> > > check_run.c:145: error: storage size of
`old_action'
> isn't known
> > > check_run.c:146: error: storage size of
`new_action'
> isn't known
> > >
> > > [old/new]_action is declared as struct sigaction,
that
> should be in
> > > signal.h. Looking in my signal.h file I can find
the
> sigaction
> > > struct . But the compiler seem to miss them. I
guess
> there is some
> > > #ifdef that break this for me.
> > >
> > > The gcc command that libtool create looks like
this.
> > >
> > > gcc -DHAVE_CONFIG_H -I. -I.. -ansi -pedantic -g
-O2 -Wall
> > > -Wstrict-prototypes -Wmissing-prototypes
> -Wwrite-strings -MT
> > > check_run.lo -MD -MP -MF .deps/check_run.Tpo -c
> check_run.c -fPIC
> > > -DPIC -o .libs/check_run.o
> > >
> > > I removed -ansi and it compile as expected. But
now it
> will not link
> > > the lib.
> > >
> > > gcc -shared -Wl,-M
-Wl,.libs/libcheck.so.0.0.0.exp -Wl,-h
> > > -Wl,libcheck.so.0 -o .libs/libcheck.so.0.0.0
.libs/check.o
> > > .libs/check_error.o .libs/check_list.o
.libs/check_log.o
> > > .libs/check_msg.o .libs/check_pack.o
.libs/check_print.o
> > > .libs/check_run.o .libs/check_str.o -lc
> > >
> >
>
/gcc-lib/sparc-sun-solaris2.8/3.3.2/../../../../sparc-sun-solaris2.8/bin/ld:.libs/libcheck.so.0.0.0.exp:
> > > file format not recognized; treating as linker
script
> > >
> >
>
/gcc-lib/sparc-sun-solaris2.8/3.3.2/../../../../sparc-sun-solaris2.8/bin/ld:.libs/libcheck.so.0.0.0.exp:1:
> > > parse error
> > > collect2: ld returned 1 exit status
> > >
> > > I don't know enough about Makefiles to understand
this.
> But is seem
> > > like .../bin/ld:.libs/.... is wrong? ld is the
command
> and one would
> > > expect that you might want to change the ":" to a
" "?
> > >
> > > Doing a ./configure --disable-share;
-ansi>gmake will build
> > > the lib.
> > >
> > > creating libcheck.la
> > >
> > > But I have not tried it yet to see if its
working.
> Tweaking the test
> > > code to make it build and running "gmake check"
will
> make quite a
> > > few tcs fail. But I did not put that much time
into
> fixing the
> > > testcases or looking at what they do.
> > >
> > > The question really is, did anyone manage to
build, and
> use the new
> > > check lib on solaris? Will correct versions of
automake
> and autoconf
> > > fix these issues? I can't update these myself,
therefor
> I have not
> > > tried that yet. An my limited knowledge of make
systems
> might make
> > > this an easy fix by adding a magic flag to
configure or
> something. :)
> > >
> > > --
> > > BR, Emil
> > >
> >
>
------------------------------------------------------------------------------
> > > This SF.net email is sponsored by:
> > > SourcForge Community
> > > SourceForge wants to tell your story.
> > >
> >
>
http://p.sf.net/sfu/sf-spreadtheword_______________________________________________
> > > Check-users mailing list
> > > Check-users@...
> > >
https://lists.sourceforge.net/lists/listinfo/check-users
> > >
> > >
> > >
> >
>
------------------------------------------------------------------------
> > >
> > >
> >
>
------------------------------------------------------------------------------
> > > This SF.net email is sponsored by:
> > > SourcForge Community
> > > SourceForge wants to tell your story.
> > > http://p.sf.net/sfu/sf-spreadtheword
> > >
> > >
> > >
> >
>
------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Check-users mailing list
> > > Check-users@...
> > >
https://lists.sourceforge.net/lists/listinfo/check-users
>
>
------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
>
http://p.sf.net/sfu/sf-spreadtheword_______________________________________________
> Check-users mailing list
> Check-users@...
> https://lists.sourceforge.net/lists/listinfo/check-users
>
>
------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
>
http://p.sf.net/sfu/sf-spreadtheword_______________________________________________
> Check-users mailing list
> Check-users@...
> https://lists.sourceforge.net/lists/listinfo/check-users
>
>
>
------------------------------------------------------------------------
>
>
------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> Check-users mailing list
> Check-users@...
> https://lists.sourceforge.net/lists/listinfo/check-users
|