Форум программистов, компьютерный форум, киберфорум
FreeBSD
Войти
Регистрация
Восстановить пароль
Карта форума Темы раздела Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.69/16: Рейтинг темы: голосов - 16, средняя оценка - 4.69
4 / 4 / 3
Регистрация: 01.07.2009
Сообщений: 127
1

Установка JAVA

11.10.2011, 15:33. Показов 3322. Ответов 11
Метки нет (Все метки)

Author24 — интернет-сервис помощи студентам
Всем привет!

Собственно вываливается ошибка
Код
In file included from List.c:86:
XmRenderTI.h:46:25: error: X11/Xft/Xft.h: No such file or directory
In file included from List.c:86:
XmRenderTI.h:135: error: expected specifier-qualifier-list before 'XftPattern'
XmRenderTI.h:263: error: expected '=', ',', ';', 'asm' or '__attribute__' before                                                                                         '*' token
XmRenderTI.h:265: error: expected declaration specifiers or '...' before 'XftDra                                                                                        w'
XmRenderTI.h:281: error: expected declaration specifiers or '...' before 'XftFon                                                                                        t'
XmRenderTI.h:291: error: expected '=', ',', ';', 'asm' or '__attribute__' before                                                                                         '_XmXftGetXftColor'
List.c: In function 'DrawItems':
List.c:2502: error: 'struct __XmRenditionRec' has no member named 'xftForeground                                                                                        '
List.c:2502: warning: passing argument 1 of '_XmAssignInsensitiveColor' from inc                                                                                        ompatible pointer type
List.c:2515: error: 'struct __XmRenditionRec' has no member named 'xftForeground                                                                                        '
List.c:2516: error: 'struct __XmRenditionRec' has no member named 'xftBackground                                                                                        '
List.c:2520: error: 'struct __XmRenditionRec' has no member named 'xftBackground                                                                                        '
List.c:2535: error: 'struct __XmRenditionRec' has no member named 'xftForeground                                                                                        '
List.c:2537: error: 'struct __XmRenditionRec' has no member named 'xftBackground                                                                                        '
List.c:2541: error: 'struct __XmRenditionRec' has no member named 'xftBackground                                                                                        '
List.c:2552: error: 'struct __XmRenditionRec' has no member named 'xftForeground                                                                                        '
List.c:2553: warning: implicit declaration of function '_XmXftGetXftColor'
List.c:2553: error: 'struct __XmRenditionRec' has no member named 'xftForeground                                                                                        '
List.c:2561: error: 'struct __XmRenditionRec' has no member named 'xftForeground                                                                                        '
List.c:2562: error: 'struct __XmRenditionRec' has no member named 'xftForeground                                                                                        '
List.c:2574: error: 'struct __XmRenditionRec' has no member named 'xftForeground                                                                                        '
List.c: In function 'MakeGC':
List.c:2847: warning: passing argument 1 of '_XmAssignInsensitiveColor' from inc                                                                                        ompatible pointer type
gmake[3]: ***[List.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/x11-toolkits/open-motif/work/openmotif-2                                                                                        .3.3/lib/Xm'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/x11-toolkits/open-motif/work/openmotif-2                                                                                        .3.3/lib/Xm'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-toolkits/open-motif/work/openmotif-2                                                                                        .3.3/lib'
gmake: *** [all-recursive] Error 1
*** Error code 1

Stop in /usr/ports/x11-toolkits/open-motif.
*** Error code 1

Stop in /usr/ports/java/jdk16.
*** Error code 1

Stop in /usr/ports/java/jdk16.
Ну и собственно вопрос, что с этим делать, как подлечить ?
Большое спасибо!
0
Programming
Эксперт
94731 / 64177 / 26122
Регистрация: 12.04.2006
Сообщений: 116,782
11.10.2011, 15:33
Ответы с готовыми решениями:

Установка и использование Java 7 и Java 8
Можно ли установить и использовать (программировать) на компьютере одновременно Java 7 (SE) и Java...

Установка JAVA на ПК
Всем привет.Решил выучить яву.Начал изучать по книги Полный справочник по Java (Java SE 6 edition),...

Установка Java
Здраствуйте, такая проблема: был установлен JDK на W10 по инструкции этого видео...

Установка neatbeans в java
Недавно стал обладателем прекрасной Ubuntu , но столкнулся с небольшой проблеммой При установке...

11
Эксперт С++
7175 / 3234 / 81
Регистрация: 17.06.2009
Сообщений: 14,164
11.10.2011, 17:22 2
Порты обнови на свежие
Возможно придется переустановить их
0
4 / 4 / 3
Регистрация: 01.07.2009
Сообщений: 127
11.10.2011, 20:02  [ТС] 3
Цитата Сообщение от odip Посмотреть сообщение
Порты обнови на свежие
Возможно придется переустановить их
Подскажите как переустановить порты что б не навредить нечего на сервере ?
0
222 / 180 / 5
Регистрация: 12.01.2009
Сообщений: 1,094
12.10.2011, 10:51 4
malik555,
Bash
1
2
3
portsnap fetch extract update
cd /tmp/
portupgrade -arR
только сначала портапгрейд установи. и такое сработает только если ты все из портов собирал без вмешательства в make.conf

p.s. не забываем про бэкап
1
4 / 4 / 3
Регистрация: 01.07.2009
Сообщений: 127
23.11.2011, 14:55  [ТС] 5
Цитата Сообщение от k0xy Посмотреть сообщение
malik555,
Bash
1
2
3
portsnap fetch extract update
cd /tmp/
portupgrade -arR
только сначала портапгрейд установи. и такое сработает только если ты все из портов собирал без вмешательства в make.conf

p.s. не забываем про бэкап
На одном сервере сделал так как указанно выше, не помогает ошибка вываливается таже, что делать ?
0
222 / 180 / 5
Регистрация: 12.01.2009
Сообщений: 1,094
23.11.2011, 15:12 6
malik555, покажи вывод команды
Bash
1
pkg_info |grep libtool
потом:
Bash
1
2
3
pkg_delete -f libtool-x.x.x
cd /usr/ports/devel/libtool
make install clean
где x.x версия твоего пакета.

Только сначала почитай что делают команды , чтобы не навредить серваку тупым копи-пастом.
0
4 / 4 / 3
Регистрация: 01.07.2009
Сообщений: 127
23.11.2011, 17:11  [ТС] 7
Цитата Сообщение от k0xy Посмотреть сообщение
malik555, покажи вывод команды
Bash
1
pkg_info |grep libtool
потом:
Bash
1
2
3
pkg_delete -f libtool-x.x.x
cd /usr/ports/devel/libtool
make install clean
где x.x версия твоего пакета.

Только сначала почитай что делают команды , чтобы не навредить серваку тупым копи-пастом.
Вывод:
Bash
1
2
spec# pkg_info |grep libtool
libtool-2.4_1       Generic shared library support script
Добавлено через 9 минут
Все равно не выходит
Bash
1
2
3
pkg_delete -f libtool-2.4_1
cd /usr/ports/devel/libtool
make install clean
Пытаюсь ставить java
Bash
1
2
cd /usr/ports/java/jdk16
make install clean
Ошибка
Bash
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
XmRenderTI.h:135: error: expected specifier-qualifier-list before 'XftPattern'
XmRenderTI.h:263: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
XmRenderTI.h:265: error: expected declaration specifiers or '...' before 'XftDraw'
XmRenderTI.h:281: error: expected declaration specifiers or '...' before 'XftFont'
XmRenderTI.h:291: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_XmXftGetXftColor'
List.c: In function 'DrawItems':
List.c:2502: error: 'struct __XmRenditionRec' has no member named 'xftForeground'
List.c:2502: warning: passing argument 1 of '_XmAssignInsensitiveColor' from incompatible pointer type
List.c:2515: error: 'struct __XmRenditionRec' has no member named 'xftForeground'
List.c:2516: error: 'struct __XmRenditionRec' has no member named 'xftBackground'
List.c:2520: error: 'struct __XmRenditionRec' has no member named 'xftBackground'
List.c:2535: error: 'struct __XmRenditionRec' has no member named 'xftForeground'
List.c:2537: error: 'struct __XmRenditionRec' has no member named 'xftBackground'
List.c:2541: error: 'struct __XmRenditionRec' has no member named 'xftBackground'
List.c:2552: error: 'struct __XmRenditionRec' has no member named 'xftForeground'
List.c:2553: warning: implicit declaration of function '_XmXftGetXftColor'
List.c:2553: error: 'struct __XmRenditionRec' has no member named 'xftForeground'
List.c:2561: error: 'struct __XmRenditionRec' has no member named 'xftForeground'
List.c:2562: error: 'struct __XmRenditionRec' has no member named 'xftForeground'
List.c:2574: error: 'struct __XmRenditionRec' has no member named 'xftForeground'
List.c: In function 'MakeGC':
List.c:2847: warning: passing argument 1 of '_XmAssignInsensitiveColor' from incompatible pointer type
gmake[3]: ***[List.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/x11-toolkits/open-motif/work/openmotif-2.3.3/lib/Xm'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/x11-toolkits/open-motif/work/openmotif-2.3.3/lib/Xm'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-toolkits/open-motif/work/openmotif-2.3.3/lib'
gmake: *** [all-recursive] Error 1
*** Error code 1
 
Stop in /usr/ports/x11-toolkits/open-motif.
*** Error code 1
 
Stop in /usr/ports/java/jdk16.
*** Error code 1
 
Stop in /usr/ports/java/jdk16.
0
4 / 4 / 3
Регистрация: 01.07.2009
Сообщений: 127
28.11.2011, 16:18  [ТС] 8
Люди что-ж делать не ставится java.
0
222 / 180 / 5
Регистрация: 12.01.2009
Сообщений: 1,094
28.11.2011, 16:20 9
попробуй пакет установить , не соберая из сорцов.
0
4 / 4 / 3
Регистрация: 01.07.2009
Сообщений: 127
28.11.2011, 16:40  [ТС] 10
Цитата Сообщение от k0xy Посмотреть сообщение
попробуй пакет установить , не соберая из сорцов.
Если не затруднит ответить, как пакет jdk6 поставить ?
примерно так ?
Bash
1
pkg_add jdk 6
0
222 / 180 / 5
Регистрация: 12.01.2009
Сообщений: 1,094
28.11.2011, 17:59 11
Bash
1
pkg_add -r jdk16
0
4 / 4 / 3
Регистрация: 01.07.2009
Сообщений: 127
28.11.2011, 21:23  [ТС] 12
лекарство
Bash
1
pkg_add -r open-motif
0
28.11.2011, 21:23
IT_Exp
Эксперт
87844 / 49110 / 22898
Регистрация: 17.06.2006
Сообщений: 92,604
28.11.2011, 21:23
Помогаю со студенческими работами здесь

Установка java + eclipse
Вылетает сообщение вида:

Установка Java на Win
JDK c примерами и NetBeans установлены в Program files. Полный путь получается...

Установка и запуск Java
добрый день. установил Java 64 последнюю версию, она почему то у меня оказалась в папке (86)....

Установка Java для Андройда
Добрый день собираюсь писатьв среде Еклипс скачал папку JDK отсюда...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
12
Ответ Создать тему
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2024, CyberForum.ru