|
问题:
我的是SUSE9.2 OR 9.3 ,在编译MPLAYER 0.7的版本时候,然后出现了GTK和GLIB问题
随后我根据./configure --help来查询说要指定PATH 格式为 --wiht-gtk-config=(path) with--glib-config=(PATH)
可是我在OPT/GONME/LIB指定了GLIB是对的,里面有个GLIB-CONFIG 文件。
但是 GTK OR GTK 2.0 里的INCLUDE文件夹里面非 GTK-CONFIG!!而是 GDK-CONFIG!
日,我把名字该了虽然。/CONFIGURE过了。但是MAKE不过,说GTK指定路径出现问题!
随后我换了N个路径,只要和GTK沾边的都用了,。/CONFIGURE了不下20遍,还是以失败告终!!
底下这个文件是我OS里的那个GDK-CONFIG!
那个GTK-CONFIG是我看那个GTK的DOC里面有个范例,然后自己COPY上写的还是不行,大家看看
FOR (GDK=CONFIG)
/*********************
{
/* gdkconfig.h
*
* This is a generated file. Please modify `configure.in'
*/
#ifndef GDKCONFIG_H
#define GDKCONFIG_H
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GDK_WINDOWING_X11
#define GDK_HAVE_WCHAR_H 1
#define GDK_HAVE_WCTYPE_H 1
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* GDKCONFIG_H */
}}}***********************/
GTK-CONFIG是我COPY的!!
gboolean gconf_init (int argc,
char **argv,
GError **err);
void gconf_preinit (gpointer app,
gpointer mod_info);
void gconf_postinit (gpointer app,
gpointer mod_info);
gboolean gconf_is_initialized (void);
void (*GConfNotifyFunc) (GConfEngine *conf,
guint cnxn_id,
GConfEntry *entry,
gpointer user_data);
guint gconf_engine_notify_add (GConfEngine *conf,
const gchar *namespace_section,
GConfNotifyFunc func,
gpointer user_data,
GError **err);
void gconf_engine_notify_remove (GConfEngine *conf,
guint cnxn);
GConfValue* gconf_engine_get (GConfEngine *conf,
const gchar *key,
GError **err);
GConfValue* gconf_engine_get_with_locale (GConfEngine *conf,
const gchar *key,
const gchar *locale,
GError **err);
GConfValue* gconf_engine_get_without_default
(GConfEngine *conf,
const gchar *key,
GError **err);
GConfEntry* gconf_engine_get_entry (GConfEngine *conf,
const gchar *key,
const gchar *locale,
gboolean use_schema_default,
GError **err);
GConfValue* gconf_engine_get_default_from_schema
(GConfEngine *conf,
const gchar *key,
GError **err);
gboolean gconf_engine_set (GConfEngine *conf,
const gchar *key,
const GConfValue *value,
GError **err);
gboolean gconf_engine_unset (GConfEngine *conf,
const gchar *key,
GError **err);
gboolean gconf_engine_associate_schema (GConfEngine *conf,
const gchar *key,
const gchar *schema_key,
GError **err);
GSList* gconf_engine_all_entries (GConfEngine *conf,
const gchar *dir,
GError **err);
GSList* gconf_engine_all_dirs (GConfEngine *conf,
const gchar *dir,
GError **err);
void gconf_engine_suggest_sync (GConfEngine *conf,
GError **err);
gboolean gconf_engine_dir_exists (GConfEngine *conf,
const gchar *dir,
GError **err);
gboolean gconf_valid_key (const gchar *key,
gchar **why_invalid);
gboolean gconf_key_is_below (const gchar *above,
const gchar *below);
gdouble gconf_engine_get_float (GConfEngine *conf,
const gchar *key,
GError **err);
gint gconf_engine_get_int (GConfEngine *conf,
const gchar *key,
GError **err);
gchar* gconf_engine_get_string (GConfEngine *conf,
const gchar *key,
GError **err);
gboolean gconf_engine_get_bool (GConfEngine *conf,
const gchar *key,
GError **err);
GConfSchema* gconf_engine_get_schema (GConfEngine *conf,
const gchar *key,
GError **err);
GSList* gconf_engine_get_list (GConfEngine *conf,
const gchar *key,
GConfValueType list_type,
GError **err);
gboolean gconf_engine_get_pair (GConfEngine *conf,
const gchar *key,
GConfValueType car_type,
GConfValueType cdr_type,
gpointer car_retloc,
gpointer cdr_retloc,
GError **err);
gboolean gconf_engine_set_float (GConfEngine *conf,
const gchar *key,
gdouble val,
GError **err);
gboolean gconf_engine_set_int (GConfEngine *conf,
const gchar *key,
gint val,
GError **err);
gboolean gconf_engine_set_string (GConfEngine *conf,
const gchar *key,
const gchar *val,
GError **err);
gboolean gconf_engine_set_bool (GConfEngine *conf,
const gchar *key,
gboolean val,
GError **err);
gboolean gconf_engine_set_schema (GConfEngine *conf,
const gchar *key,
const GConfSchema *val,
GError **err);
gboolean gconf_engine_set_list (GConfEngine *conf,
const gchar *key,
GConfValueType list_type,
GSList *list,
GError **err);
gboolean gconf_engine_set_pair (GConfEngine *conf,
const gchar *key,
GConfValueType car_type,
GConfValueType cdr_type,
gconstpointer address_of_car,
gconstpointer address_of_cdr,
GError **err);
GConfEnumStringPair;
gboolean gconf_string_to_enum (GConfEnumStringPair lookup_table[],
const gchar *str,
gint *enum_value_retloc);
const gchar* gconf_enum_to_string (GConfEnumStringPair lookup_table[],
gint enum_value);
请问如何找到GTK的路径啊?在SUSE下
另外我搜索了HDD上每一个角落,那个GTK-CONFIG这个头文件就是TMD找不到!!
问题就是GTK-CONFIG不在GTK 或者GTK2文件里面,而是有个GDK-CONFIG
你说头疼啊..........
补充一下
SUSE的RPM包有!
如果安装的话需要三个 lame-3.96.1-pm.1.i686.rpm w32codec-all-20050412-0.pm.0.i586.rpm
libmad-0.15.0b-1.i586 ************!!最后那个SUSERPM包偶找不到,只好找辕马了!!
然后估计就可以了,今天回家编译原码libmad-0.15.0b-1.i586看行不行,不行的话MPLAYER基本在我SUSE下费了。加油 |
|