соответственно - пробую собрать, улетает на таком моменте:
Код: Выделить всё
ussr# make
===> Extracting for ru-xneur-0.8.0
=> MD5 Checksum OK for xneur-0.8.0.tar.bz2.
=> SHA256 Checksum OK for xneur-0.8.0.tar.bz2.
===> Patching for ru-xneur-0.8.0
===> Applying FreeBSD patches for ru-xneur-0.8.0
===> ru-xneur-0.8.0 depends on file: /usr/local/libdata/xorg/libraries - found
===> ru-xneur-0.8.0 depends on shared library: pcre.0 - found
===> Configuring for ru-xneur-0.8.0
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i386-portbld-freebsd6.2-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking build system type... i386-portbld-freebsd6.2
checking host system type... i386-portbld-freebsd6.2
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for i386-portbld-freebsd6.2-g77... no
checking for i386-portbld-freebsd6.2-xlf... no
checking for i386-portbld-freebsd6.2-f77... no
checking for i386-portbld-freebsd6.2-frt... no
checking for i386-portbld-freebsd6.2-pgf77... no
checking for i386-portbld-freebsd6.2-cf77... no
checking for i386-portbld-freebsd6.2-fort77... no
checking for i386-portbld-freebsd6.2-fl32... no
checking for i386-portbld-freebsd6.2-af77... no
checking for i386-portbld-freebsd6.2-xlf90... no
checking for i386-portbld-freebsd6.2-f90... no
checking for i386-portbld-freebsd6.2-pgf90... no
checking for i386-portbld-freebsd6.2-pghpf... no
checking for i386-portbld-freebsd6.2-epcf90... no
checking for i386-portbld-freebsd6.2-gfortran... no
checking for i386-portbld-freebsd6.2-g95... no
checking for i386-portbld-freebsd6.2-xlf95... no
checking for i386-portbld-freebsd6.2-f95... no
checking for i386-portbld-freebsd6.2-fort... no
checking for i386-portbld-freebsd6.2-ifort... no
checking for i386-portbld-freebsd6.2-ifc... no
checking for i386-portbld-freebsd6.2-efc... no
checking for i386-portbld-freebsd6.2-pgf95... no
checking for i386-portbld-freebsd6.2-lf95... no
checking for i386-portbld-freebsd6.2-ftn... no
checking for g77... no
checking for xlf... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... (cached) 262144
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for i386-portbld-freebsd6.2-ar... no
checking for ar... ar
checking for i386-portbld-freebsd6.2-ranlib... no
checking for ranlib... ranlib
checking for i386-portbld-freebsd6.2-strip... no
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... freebsd6.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd6.2 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... yes
checking if f77 static flag -static works... yes
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd6.2 ld.so
checking how to hardcode library paths into programs... immediate
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for ANSI C header files... (cached) yes
checking for i386-portbld-freebsd6.2-pkg-config... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for X11... yes
checking for i386-portbld-freebsd6.2-pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for PCRE... yes
checking for GSTREAMER... yes
configure: creating ./config.status
config.status: creating share/Makefile
config.status: creating share/sounds/Makefile
config.status: creating etc/Makefile
config.status: creating etc/en/Makefile
config.status: creating etc/ru/Makefile
config.status: creating etc/uk/Makefile
config.status: creating etc/be/Makefile
config.status: creating etc/fr/Makefile
config.status: creating etc/ro/Makefile
config.status: creating etc/kz/Makefile
config.status: creating etc/de/Makefile
config.status: creating lib/Makefile
config.status: creating lib/ai/Makefile
config.status: creating lib/config/Makefile
config.status: creating lib/misc/Makefile
config.status: creating lib/sound/Makefile
config.status: creating lib/x/Makefile
config.status: creating src/Makefile
config.status: creating Makefile
config.status: creating xnconfig.pc
config.status: creating config.h
config.status: executing depfiles commands
xneur 0.8.0 configured successfully:
Installing into: /usr/local
Compiler flags: -O -Wall -Werror -g0 -fPIC -std=gnu99
X11 compiler flags: -D_THREAD_SAFE -I/usr/local/include
X11 linker flags: -L/usr/local/lib -lX11
Pcre compiler flags: -I/usr/local/include
Pcre linker flags: -L/usr/local/lib -lpcre
FreeALUT compiler flags:
FreeALUT linker flags:
Gstreamer compiler flags: -D_REENTRANT -I/usr/local/include/gstreamer-0.10 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include
Gstreamer linker flags: -pthread -L/usr/local/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lglib-2.0 -liconv
Another linker flags:
===> Building for ru-xneur-0.8.0
make all-recursive
Making all in etc
Making all in en
Making all in uk
Making all in ru
Making all in be
Making all in fr
Making all in kz
Making all in ro
Making all in de
Making all in lib
Making all in ai
if /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/config -I../../lib/misc -I../../lib/x -O -Wall -Werror -g0 -fPIC -std=gnu99 -MT libxnai_la-conversion.lo -MD -MP -MF ".deps/libxnai_la-conversion.Tpo" -c -o libxnai_la-conversion.lo `test -f 'conversion.c' || echo './'`conversion.c; then mv -f ".deps/libxnai_la-conversion.Tpo" ".deps/libxnai_la-conversion.Plo"; else rm -f ".deps/libxnai_la-conversion.Tpo"; exit 1; fi
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/config -I../../lib/misc -I../../lib/x -O -Wall -Werror -g0 -fPIC -std=gnu99 -MT libxnai_la-conversion.lo -MD -MP -MF .deps/libxnai_la-conversion.Tpo -c conversion.c -fPIC -DPIC -o .libs/libxnai_la-conversion.o
if /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/config -I../../lib/misc -I../../lib/x -O -Wall -Werror -g0 -fPIC -std=gnu99 -MT libxnai_la-detection.lo -MD -MP -MF ".deps/libxnai_la-detection.Tpo" -c -o libxnai_la-detection.lo `test -f 'detection.c' || echo './'`detection.c; then mv -f ".deps/libxnai_la-detection.Tpo" ".deps/libxnai_la-detection.Plo"; else rm -f ".deps/libxnai_la-detection.Tpo"; exit 1; fi
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/config -I../../lib/misc -I../../lib/x -O -Wall -Werror -g0 -fPIC -std=gnu99 -MT libxnai_la-detection.lo -MD -MP -MF .deps/libxnai_la-detection.Tpo -c detection.c -fPIC -DPIC -o .libs/libxnai_la-detection.o
In file included from detection.c:35:
../../lib/x/xwindow.h:23:23: X11/Xutil.h: No such file or directory
In file included from detection.c:35:
../../lib/x/xwindow.h:29: error: syntax error before "Display"
In file included from detection.c:36:
../../lib/x/xkeymap.h:27: error: syntax error before "KeySym"
../../lib/x/xkeymap.h:28: error: syntax error before "kc"
../../lib/x/xkeymap.h:32: error: syntax error before "KeySym"
../../lib/x/xkeymap.h:42: error: syntax error before "XEvent"
../../lib/x/xkeymap.h:44: error: syntax error before "KeyCode"
*** Error code 1
Stop in /tmp/ports/usr/ports/russian/xneur/work/xneur-0.8.0/lib/ai.
*** Error code 1
Stop in /tmp/ports/usr/ports/russian/xneur/work/xneur-0.8.0/lib.
*** Error code 1
Stop in /tmp/ports/usr/ports/russian/xneur/work/xneur-0.8.0.
*** Error code 1
Stop in /tmp/ports/usr/ports/russian/xneur/work/xneur-0.8.0.
*** Error code 1
Stop in /usr/ports/russian/xneur.
*** Error code 1
Stop in /usr/ports/russian/xneur.
ussr#
Код: Выделить всё
ussr# more /tmp/ports/usr/ports/russian/xneur/work/xneur-0.8.0/lib/x/xwindow.h
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* (c) XNeur Team 2006
*
*/
#ifndef _XWINDOW_H_
#define _XWINDOW_H_
#include <X11/Xutil.h>
struct _xwindow
{
struct _xkeymap *xkeymap;
Display *display;
Window window;
int (*create) (struct _xwindow *p);
void (*destroy) (struct _xwindow *p);
void (*move_window) (struct _xwindow *p, int x, int y);
int (*init_keymap) (struct _xwindow *p);
void (*uninit) (struct _xwindow *p);
};
struct _xwindow* xwindow_init(void);
#endif /* _XWINDOW_H_ */
ussr#
Код: Выделить всё
#include <X11/Xutil.h>
вопрос - я так понимаю, где-то путь не указан...
идеи есть? порт прилагаю.