You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Gary Mazzaferro <ga...@OEData.com> on 2007/03/05 23:54:21 UTC

Help - .96 /util build broken under solaris

Hi,
 
I'm new to axis2c and I'm trying to build under solaris 10 sparc. I'm having
some trouble getting /util to build.
 
Can someone please help ? Maybe someone has fixed this already ?
 
This is where I'm at:
 
I fixed some "//" comments in uuid_gen_unix.c  
 
Now, I have some compile errors:
uuid_gen_unix.c  -fPIC -DPIC -o .libs/uuid_gen_unix.o
uuid_gen_unix.c: In function `axis2_uuid_get_mac_addr':
uuid_gen_unix.c:355: error: structure has no member named `sa_len'
uuid_gen_unix.c:355: error: structure has no member named `sa_len'

These arecaused by trying to build the "Darwin" axis2_uuid_get_mac_addr()
instead of the version 
in "#ifdef HAVE_STRUCT_LIFREQ  /* Solaris-ish */"
 
Digging in a little shows HAVE_STRUCT_LIFREQ is not defined in config.h. 
Something is not right with the ./configure script. I believe the following
2 tests should result in "yes".
checking for struct lifreq... no
checking for struct sockaddr_dl... no

I tried running autogen.sh  thinking it was something in the "auto" tool
chain. Automake failed, there wasn't an 
error code and I haven't had a second to dig any deeper into the issue. 
 
Is this fixed ?? Can anyone help ? I really don't want to move to Java for
this project.
 
-thx 
gary

============================================================================
=== 
- Confidentiality Statement - 
The information contained in this message and any attachments is intended
only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL or copyright
information 
and exempt from disclosure under applicable law. If you have received this 
message in error or you are not the intended recipient of this message, you
are 
prohibited from copying, distributing, or using the information. Please
contact 
the sender immediately by return e-mail and delete the original message from

your system. 
============================================================================
=== 

 

RE: Help - .96 /util build broken under solaris

Posted by Gary Mazzaferro <ga...@OEData.com>.
This is a quick update for the solaris 10 (64bit) users..

I had to put this on tha back burner this last week, other things 
need to get done on this project.

I still haven't had enough time to fix the root causes of the problem, 
but still working on it.

This is what I know so far:
1) You will have to update your automake to version 1.9x. 
   The automake 1.8 shipped with solaris 10 doesn't know about "tar-ustar"
   causing automake to fail. 

2) configure.ac needs patch for AC_CHECK_TYPES(sockaddr_dl) to work,
   See code:
     AC_CHECK_TYPES([struct sockaddr_dl], [], [],
     [
     #if HAVE_SYS_TYPES_H
     # include <sys/types.h>
     #endif
     #if HAVE_NET_IF_DL_H
     # include <net/if_dl.h>
     #endif
     ])

3) Run build.sh in the top axis dir. This will fail !!

4) AC_CHECK_TYPES([struct lifreq]) is still broken.
Solaris 10 64bit redefines struct lifreq as 64bits. 
Axis2c doesn't have _INT64_TYPE defined, for solaris 10 64bit so the test
fails.
>>From if.h:
    #if defined(_INT64_TYPE)
    struct    lifreq { ......
 
If one of the developers would like to chime in, now is a good time...

-g

> -----Original Message-----
> From: Gary Mazzaferro [mailto:garym@OEData.com] 
> Sent: Monday, March 05, 2007 11:15 PM
> To: 'Apache AXIS C User List'
> Subject: RE: Help - .96 /util build broken under solaris
> 
> Hi Dinesh,
> 
> Thank you for posting the link to the thread. It appears we 
> followed most of the same steps.
> 
> Unfortunately, they stopped at the same place I did. I was 
> hoping someone has gotten past this point.
> 
> I suspect the problem is with the autogen tool, but I'm not 
> well versed at resolving issues with autogen and was hoping 
> one of the developers could fix it or point me in the 
> direction on how to fix it.
> 
> -thx
> gary
> 
> > -----Original Message-----
> > From: Dinesh Premalal [mailto:xydinesh@gmail.com]
> > Sent: Monday, March 05, 2007 9:46 PM
> > To: axis-c-user@ws.apache.org
> > Subject: Re: Help - .96 /util build broken under solaris
> > 
> > Hi,
> >   
> > "Gary Mazzaferro" <ga...@OEData.com> writes:
> > >  
> > > I'm new to axis2c and I'm trying to build under solaris 10
> > sparc. I'm
> > > having some trouble getting /util to build.
> > >  
> > > Can someone please help ? Maybe someone has fixed this already ?
> > >  
> > > This is where I'm at:
> > >  
> > > I fixed some "//" comments in uuid_gen_unix.c
> > >  
> > > Now, I have some compile errors:
> > > uuid_gen_unix.c  -fPIC -DPIC -o .libs/uuid_gen_unix.o
> > > uuid_gen_unix.c: In function `axis2_uuid_get_mac_addr':
> > > uuid_gen_unix.c:355: error: structure has no member named `sa_len'
> > > uuid_gen_unix.c:355: error: structure has no member named `sa_len'
> > > These arecaused by trying to build the "Darwin" 
> > > axis2_uuid_get_mac_addr()
> > AFAIR, smilier problem happened to some other user, 
> > http://marc.theaimsgroup.com/?l=axis-c-user&w=2&r=1&s=solaris+
> > build+Ishan&q=b
> > 
> > thanks,
> > Dinesh
> > 
> > 
> > --
> > Dinesh Premalal
> > dinesh@wso2.com
> > WSO2, Inc.; http://www.wso2.com/
> > GPG Key ID : A255955C
> > GPG Key Finger Print : C481 E5D4 C27E DC34 9257  0229 4F44 
> 266E A255 
> > 955C
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-c-user-help@ws.apache.org
> > 
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


RE: Help - .96 /util build broken under solaris

Posted by Gary Mazzaferro <ga...@OEData.com>.
Hi Dinesh,

Thank you for posting the link to the thread. It appears we followed 
most of the same steps.

Unfortunately, they stopped at the same place I did. I was 
hoping someone has gotten past this point.

I suspect the problem is with the autogen tool, but I'm not well versed
at resolving issues with autogen and was hoping one of the developers could 
fix it or point me in the direction on how to fix it.

-thx
gary

> -----Original Message-----
> From: Dinesh Premalal [mailto:xydinesh@gmail.com] 
> Sent: Monday, March 05, 2007 9:46 PM
> To: axis-c-user@ws.apache.org
> Subject: Re: Help - .96 /util build broken under solaris
> 
> Hi,
>   
> "Gary Mazzaferro" <ga...@OEData.com> writes:
> >  
> > I'm new to axis2c and I'm trying to build under solaris 10 
> sparc. I'm 
> > having some trouble getting /util to build.
> >  
> > Can someone please help ? Maybe someone has fixed this already ?
> >  
> > This is where I'm at:
> >  
> > I fixed some "//" comments in uuid_gen_unix.c
> >  
> > Now, I have some compile errors:
> > uuid_gen_unix.c  -fPIC -DPIC -o .libs/uuid_gen_unix.o
> > uuid_gen_unix.c: In function `axis2_uuid_get_mac_addr':
> > uuid_gen_unix.c:355: error: structure has no member named `sa_len'
> > uuid_gen_unix.c:355: error: structure has no member named `sa_len'
> > These arecaused by trying to build the "Darwin" 
> > axis2_uuid_get_mac_addr()
> AFAIR, smilier problem happened to some other user, 
> http://marc.theaimsgroup.com/?l=axis-c-user&w=2&r=1&s=solaris+
> build+Ishan&q=b
> 
> thanks,
> Dinesh
> 
> 
> --
> Dinesh Premalal
> dinesh@wso2.com
> WSO2, Inc.; http://www.wso2.com/
> GPG Key ID : A255955C
> GPG Key Finger Print : C481 E5D4 C27E DC34 9257  0229 4F44 
> 266E A255 955C
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Help - .96 /util build broken under solaris

Posted by Dinesh Premalal <xy...@gmail.com>.
Hi,
  
"Gary Mazzaferro" <ga...@OEData.com> writes:
>  
> I'm new to axis2c and I'm trying to build under solaris 10 sparc. I'm having
> some trouble getting /util to build.
>  
> Can someone please help ? Maybe someone has fixed this already ?
>  
> This is where I'm at:
>  
> I fixed some "//" comments in uuid_gen_unix.c 
>  
> Now, I have some compile errors:
> uuid_gen_unix.c  -fPIC -DPIC -o .libs/uuid_gen_unix.o
> uuid_gen_unix.c: In function `axis2_uuid_get_mac_addr':
> uuid_gen_unix.c:355: error: structure has no member named `sa_len'
> uuid_gen_unix.c:355: error: structure has no member named `sa_len'
> These arecaused by trying to build the "Darwin" axis2_uuid_get_mac_addr()
AFAIR, smilier problem happened to some other user, 
http://marc.theaimsgroup.com/?l=axis-c-user&w=2&r=1&s=solaris+build+Ishan&q=b

thanks,
Dinesh


-- 
Dinesh Premalal
dinesh@wso2.com
WSO2, Inc.; http://www.wso2.com/
GPG Key ID : A255955C
GPG Key Finger Print : C481 E5D4 C27E DC34 9257  0229 4F44 266E A255 955C

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org