mainNSS MySQL - Support: sr #101207, compiling under solaris 9

 
 

sr #101207: compiling under solaris 9

Submitter:  None
Submitted:  Sun 18 Aug 2002 12:01:16 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  Postponed
Privacy:  Public Assigned to:  gmorin
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 07 Nov 2002 10:54:21 PM UTC, comment #9: 


I get this message from solaris when I put "passwd: files
mysql" in nsswitch.conf:

Supported configurations for passwd management are as follows:
    passwd: files
    passwd: files ldap
    passwd: files nis
    passwd: files nisplus
    passwd: compat
    passwd: compat AND
    passwd_compat: ldap OR
    passwd_compat: nisplus
Please check your /etc/nsswitch.conf file
Password:

I don't think it is a nss-mysql problem, it is because
solaris 9 is restricted to authenticate only what Sun thinks
solaris should. What can we do about it?

nikolai

Anonymous
Thu 07 Nov 2002 10:50:56 PM UTC, comment #8: 


I am very open to help to test it under solaris 9. I have a
job assigned to me to set up a solaris box to authenticate
with solaris. My time is yours, what tests do you want me to
do?

Nikolai
p.s.
The only inconvinience is that we have to make tests on a
production machine at nights, but that's not a big problem.

Anonymous
Thu 07 Nov 2002 10:03:38 PM UTC, comment #7: 


Hi,

I am not aware any runtime tests. Some people agreed to help
me (I have no Solaris boxes) to test nss-mysql under
Solaris. But unfortunately, since they are very busy and at
this time, we only have sorted out the compilation problems.

Guillaume.

Guillaume Morin <gmorin>
Group administrator
Thu 07 Nov 2002 06:58:06 PM UTC, comment #6: 


Well, I finaly compiled the lastest version with solaris 9 ,
but when I put the line "passwd: files mysql" solaris
reclamated that I can not use "mysql" for authentication, it
says it is not supported. Does anyone is authenticating with
solaris 9 ?

Anonymous
Sun 27 Oct 2002 01:56:37 PM UTC, comment #5: 


Hi,

Have you tried the CVS version ? It contains some important
changes wrt Solaris. For your runtime problems, please check
your auth log, all messages are sent there. You may want to
compile in debug mode too.

Guillaume.

Guillaume Morin <gmorin>
Group administrator
Fri 25 Oct 2002 08:57:48 PM UTC, comment #4: 


Well , I've manage to compile it under solaris 8 (sparc).
I had to edit config.h after configuration and comment out

#define INCLUDE_MY_SYS 1

and

PTHREAD_MUTEX_INIT....

That doesn't mean it works.... I'm still trying . Possible
sql rights troubles? who knows??
I hope I've helped a bit.

Anonymous
Mon 30 Sep 2002 11:34:21 PM UTC, comment #3: 


For the records, I've found a workaround for this bug.
nss-mysql (atm the CVS version) should now compile under
most Solaris versions.

Guillaume.

Guillaume Morin <gmorin>
Group administrator
Tue 20 Aug 2002 06:47:14 PM UTC, comment #2: 


Concerning the warnings, I really cannot help. The solaris
bits have been done by someone else and I don't have access
to a Solaris box.

Guillaume Morin <gmorin>
Group administrator
Tue 20 Aug 2002 02:09:44 PM UTC, comment #1: 


The errors come from the MySQL headers. You should try to
reach the MySQL crew to see how it could be fixed ...

Guillaume.

Guillaume Morin <gmorin>
Group administrator
Sun 18 Aug 2002 12:01:16 AM UTC, original submission:  


Hello,

I want to compile nss-mysql-0.40 under solaris 9 with
gcc 2.95 and mysql-3.23, I have this compiling problem:

gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/local/include/mysql -DSYSCONFDIR=\"/etc\"
-D_REENTRANT -g -O2 -W -Wall -Wstrict-prototypes
-Wpointer-arith -Wundef -c passwd.c
-Wp,-MD,.deps/passwd.TPlo  -fPIC -DPIC -o passwd.lo
In file included from passwd.c:43:
/usr/local/include/mysql/my_pthread.h:317: parse error
before `*'

the my_thread.h has this on line 317:
#if !defined(HAVE_SIGWAIT) && !defined(HAVE_mit_thread)
&& !defined(HAVE_rts_threads) && !defined(sigwait) &&
!defined(alpha_linux_port) &&
!defined(HAVE_NONPOSIX_SIGWAIT) &&
!defined(HAVE_DEC_3_2_THREADS) && !defined(_AIX)
int sigwait(sigset_t *setp, int *sigp);
#endif

on line 317 is this declaration:
int sigwait(sigset_t *setp, int *sigp);

Also, I get a lot of warning like these:
passwd.c:449: warning: braces around scalar initializer
passwd.c:449: warning: (near initialization for
`pwnam_mutex.__pthread_mutex_flags.__pthread_mutex_flag1')
passwd.c:449: warning: braces around scalar initializer
passwd.c:449: warning: (near initialization for
`pwnam_mutex.__pthread_mutex_flags.__pthread_mutex_flag1')
passwd.c:449: warning: excess elements in scalar
initializer
passwd.c:449: warning: (near initialization for
`pwnam_mutex.__pthread_mutex_flags.__pthread_mutex_flag1')
passwd.c:449: warning: excess elements in scalar
initializer
passwd.c:449: warning: (near initialization for
`pwnam_mutex.__pthread_mutex_flags.__pthread_mutex_flag1')
passwd.c:449: warning: excess elements in scalar
initializer
passwd.c:449: warning: (near initialization for
`pwnam_mutex.__pthread_mutex_flags.__pthread_mutex_flag1')
passwd.c:449: warning: excess elements in scalar
initializer
passwd.c:449: warning: (near initialization for
`pwnam_mutex.__pthread_mutex_flags.__pthread_mutex_flag1')
passwd.c:449: warning: braces around scalar initializer
passwd.c:449: warning: (near initialization for
`pwnam_mutex.__pthread_mutex_flags.__pthread_mutex_flag1')
passwd.c:449: warning: braces around scalar initializer
passwd.c:449: warning: (near initialization for
`pwnam_mutex.__pthread_mutex_flags.__pthread_mutex_flag1')
passwd.c:449: warning: braces around scalar initializer
passwd.c:449: warning: (near initialization for
`pwnam_mutex.__pthread_mutex_flags.__pthread_mutex_flag1')
passwd.c:449: warning: excess elements in scalar
initializer
passwd.c:449: warning: (near initialization for
`pwnam_mutex.__pthread_mutex_flags.__pthread_mutex_flag1')
passwd.c:449: warning: excess elements in scalar
initializer
passwd.c:449: warning: (near initialization for
`pwnam_mutex.__pthread_mutex_flags.__pthread_mutex_flag1')


I would appriciate any help and if you know where to
look for this problem I will check it.

thank you.
nikolai
-email is unavailable-

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 7 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-02-21 gmorin StatusNone Postponed
    Open/ClosedOpen Closed
2002-10-27 gmorin support_status_id2
2002-09-30 gmorin Closed on2002-08-31 -
2002-08-31 gmorin support_status_id1
    Closed on- -
2002-08-20 gmorin Assigned toNone None

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code