powered by simpleCommunicator - 2.0.48     © 2025 Programmizd 02
Форумы / Другие: Mac OS, PalmOS, BeOS, PocketPC [игнор отключен] [закрыт для гостей] / установить Gnome keyring на Mac OS
3 сообщений из 3, страница 1 из 1
установить Gnome keyring на Mac OS
    #37414408
Serge N
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Устанавливаю subversion на Mac OS Tiger.
Для того, чтобы хранить пароли в зашифрованном виде требуется поставить Gnome Keyring.
Но поиск в гогле не привел меня к исходникам Gnome Keyring, которые я мог бы скачать и установить с помощью configure, make, make install
Откуда можно скачать исходники?
Или нужно идти другим путем?
...
Рейтинг: 0 / 0
установить Gnome keyring на Mac OS
    #37414786
tanglir
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Serge N,

а вот тут , например, не исходники разве лежат?
...
Рейтинг: 0 / 0
установить Gnome keyring на Mac OS
    #37418589
Serge N
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Спасибо, скачал
Запускаю ./configure

Requested 'glib-2.0 >= 2.25.0' but version of GLib is 2.18.1

скачал glib-2.29.12
пытаюсь собрать его. ./configure отрабатывает.
make выдает ошибку:

gunixmounts.c: In function '_g_get_unix_mounts':
gunixmounts.c:601: warning: passing argument 1 of 'getmntinfo' from incompatible pointer type
gunixmounts.c:610: error: 'struct statvfs' has no member named 'f_mntonname'
gunixmounts.c:611: error: 'struct statvfs' has no member named 'f_mntfromname'
gunixmounts.c:612: error: 'struct statvfs' has no member named 'f_fstypename'


структура statvfs в /usr/include/sys/statvfs.h действительно не содержит таких полей:
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
/*
 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
 *
 * @APPLE_LICENSE_HEADER_START@
 * 
 * This file contains Original Code and/or Modifications of Original Code
 * as defined in and that are subject to the Apple Public Source License
 * Version 2.0 (the 'License'). You may not use this file except in
 * compliance with the License. Please obtain a copy of the License at
 * http://www.opensource.apple.com/apsl/ and read it before using this
 * file.
 * 
 * The Original Code and all software distributed under the License are
 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 * Please see the License for the specific language governing rights and
 * limitations under the License.
 * 
 * @APPLE_LICENSE_HEADER_END@
 */

/*
 * sys/statvfs.h
 */
#ifndef _SYS_STATVFS_H_
#define	_SYS_STATVFS_H_

#include <sys/_types.h>
#include <sys/cdefs.h>

#ifndef _FSBLKCNT_T
#define _FSBLKCNT_T
typedef __darwin_fsblkcnt_t	fsblkcnt_t;
#endif

#ifndef _FSFILCNT_T
#define _FSFILCNT_T
typedef __darwin_fsfilcnt_t	fsfilcnt_t;
#endif

/* Following structure is used as a statvfs/fstatvfs function parameter */
struct statvfs {
	unsigned long	f_bsize;	/* File system block size */
	unsigned long	f_frsize;	/* Fundamental file system block size */
	fsblkcnt_t	f_blocks;	/* Blocks on FS in units of f_frsize */
	fsblkcnt_t	f_bfree;	/* Free blocks */
	fsblkcnt_t	f_bavail;	/* Blocks available to non-root */
	fsfilcnt_t	f_files;	/* Total inodes */
	fsfilcnt_t	f_ffree;	/* Free inodes */
	fsfilcnt_t	f_favail;	/* Free inodes for non-root */
	unsigned long	f_fsid;		/* Filesystem ID */
	unsigned long	f_flag;		/* Bit mask of values */
	unsigned long	f_namemax;	/* Max file name length */
};

/* Defined bits for f_flag field value */
#define	ST_RDONLY	0x00000001	/* Read-only file system */
#define	ST_NOSUID	0x00000002	/* Does not honor setuid/setgid */

__BEGIN_DECLS
int fstatvfs(int, struct statvfs *);
int statvfs(const char * __restrict, struct statvfs * __restrict);
__END_DECLS

#endif	/* _SYS_STATVFS_H_ */

Судя по всему в Tiger более старая версия /usr/include/sys/statvfs.h
Как можно обновить /usr/include/sys/statvfs.h ?
Если я обновлю только заголовочный файл, достаточно ли этого будет?
Или нужно обновить также и библиотеку, содержащую реализацию функций:
Код: plaintext
1.
int fstatvfs(int, struct statvfs *);
int statvfs(const char * __restrict, struct statvfs * __restrict);
?
Что это за библиотека и как ее обновить?
И более глобальный вопрос: как по заголовочному файлу,лежащему в /usr/include, определить, какая библиотека содержит реализацию объявленных в нем функций?
...
Рейтинг: 0 / 0
3 сообщений из 3, страница 1 из 1
Форумы / Другие: Mac OS, PalmOS, BeOS, PocketPC [игнор отключен] [закрыт для гостей] / установить Gnome keyring на Mac OS
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]