Unofficial Austrumi Linux for English users forum golf & dvd

A Latvian and english Linux tiny operating system. used by golf & dvd lovers

You are not logged in.

Adverts

Adverts

#26 2009-08-21 04:48:45

miye
Guest

Re: xvkbd - virtual keyboard and xbindkeys

Im trying to install xboxdrv and it ลก asking me for libx11-dev.. but their is no slackware package.. So Im trying to build from source  the libx11-dev and I cant compile anything one error is crt1.o: No such file: No such file or directory


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libX11 configure 1.2.2, which was
generated by GNU Autoconf 2.63.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost.localdomain.net
uname -m = i686
uname -r = 2.6.30-austrumi
uname -s = Linux
uname -v = #1 SMP PREEMPT Mon Aug 3 11:28:07 EEST 2009

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/sbin
PATH: /sbin
PATH: /usr/bin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2232: checking for a BSD-compatible install
configure:2300: result: /bin/install -c
configure:2311: checking whether build environment is sane
configure:2371: result: yes
configure:2512: checking for a thread-safe mkdir -p
configure:2551: result: /bin/mkdir -p
configure:2564: checking for gawk
configure:2580: found /usr/bin/gawk
configure:2591: result: gawk
configure:2602: checking whether make sets $(MAKE)
configure:2624: result: yes
configure:2708: checking whether to enable maintainer-specific portions of Makefiles
configure:2717: result: no
configure:2742: checking if xorg-macros used to generate configure is at least 1.2
configure:2757: result: yes, 1.2.1
configure:2776: checking for style of include used by make
configure:2804: result: GNU
configure:2874: checking for gcc
configure:2890: found /usr/bin/gcc
configure:2901: result: gcc
configure:3133: checking for C compiler version
configure:3141: gcc --version >&5
gcc (GCC) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3145: $? = 0
configure:3152: gcc -v >&5
Reading specs from /usr/lib/gcc/i486-slackware-linux/4.3.3/specs
Target: i486-slackware-linux
Configured with: ../gcc-4.3.3/configure --prefix=/usr --libdir=/usr/lib --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-checking=release --with-system-zlib --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --with-gnu-ld --verbose --with-arch=i486 --target=i486-slackware-linux --build=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 4.3.3 (GCC)
configure:3156: $? = 0
configure:3163: gcc -V >&5
gcc: '-V' option must have argument
configure:3167: $? = 1
configure:3190: checking for C compiler default output file name
configure:3212: gcc    conftest.c  >&5
/usr/lib/gcc/i486-slackware-linux/4.3.3/../../../../i486-slackware-linux/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3216: $? = 1
configure:3254: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "libX11"
| #define PACKAGE_TARNAME "libX11"
| #define PACKAGE_VERSION "1.2.2"
| #define PACKAGE_STRING "libX11 1.2.2"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "libX11"
| #define VERSION "1.2.2"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3260: error: in `/root/libX11-1.2.2':
configure:3263: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_BIGFONT_CFLAGS_set=
ac_cv_env_BIGFONT_CFLAGS_value=
ac_cv_env_BIGFONT_LIBS_set=
ac_cv_env_BIGFONT_LIBS_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_X11_CFLAGS_set=
ac_cv_env_X11_CFLAGS_value=
ac_cv_env_X11_LIBS_set=
ac_cv_env_X11_LIBS_value=
ac_cv_env_XDMCP_CFLAGS_set=
ac_cv_env_XDMCP_CFLAGS_value=
ac_cv_env_XDMCP_LIBS_set=
ac_cv_env_XDMCP_LIBS_value=
ac_cv_env_XKBPROTO_CFLAGS_set=
ac_cv_env_XKBPROTO_CFLAGS_value=
ac_cv_env_XKBPROTO_LIBS_set=
ac_cv_env_XKBPROTO_LIBS_value=
ac_cv_env_XPROTO_CFLAGS_set=
ac_cv_env_XPROTO_CFLAGS_value=
ac_cv_env_XPROTO_LIBS_set=
ac_cv_env_XPROTO_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /root/libX11-1.2.2/missing --run aclocal-1.11'
ADMIN_MAN_DIR=''
ADMIN_MAN_SUFFIX=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /root/libX11-1.2.2/missing --run tar'
APP_MAN_DIR=''
APP_MAN_SUFFIX=''
AR=''
AUTOCONF='${SHELL} /root/libX11-1.2.2/missing --run autoconf'
AUTOHEADER='${SHELL} /root/libX11-1.2.2/missing --run autoheader'
AUTOMAKE='${SHELL} /root/libX11-1.2.2/missing --run automake-1.11'
AWK='gawk'
BIGFONT_CFLAGS=''
BIGFONT_LIBS=''
CC='gcc'
CCDEPMODE=''
CC_FOR_BUILD=''
CFLAGS=''
CHANGELOG_CMD=''
CPP=''
CPPFLAGS=''
CWARNFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DOLT_BASH=''
DRIVER_MAN_DIR=''
DRIVER_MAN_SUFFIX=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
FILE_MAN_DIR=''
FILE_MAN_SUFFIX=''
GREP=''
I18N_MODULE_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
KEYSYMDEF=''
LAUNCHD=''
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIB_MAN_DIR=''
LIB_MAN_SUFFIX=''
LINT=''
LINTLIB=''
LINT_FALSE=''
LINT_FLAGS=''
LINT_TRUE=''
LIPO=''
LN_S=''
LTCOMPILE=''
LTCXXCOMPILE=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /root/libX11-1.2.2/missing --run makeinfo'
MAKE_LINT_LIB_FALSE=''
MAKE_LINT_LIB_TRUE=''
MALLOC_ZERO_CFLAGS=''
MANPAGES_FALSE=''
MANPAGES_TRUE=''
MISC_MAN_DIR=''
MISC_MAN_SUFFIX=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OS2_FALSE=''
OS2_TRUE=''
OTOOL64=''
OTOOL=''
PACKAGE='libX11'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
PACKAGE_NAME='libX11'
PACKAGE_STRING='libX11 1.2.2'
PACKAGE_TARNAME='libX11'
PACKAGE_VERSION='1.2.2'
PATH_SEPARATOR=':'
PKG_CONFIG=''
RANLIB=''
RAWCPP=''
RAWCPPFLAGS=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
THRSTUBS_FALSE=''
THRSTUBS_TRUE=''
UDC_FALSE=''
UDC_TRUE=''
VERSION='1.2.2'
WCHAR32=''
X11_CFLAGS=''
X11_DATADIR=''
X11_EXTRA_DEPS=''
X11_LIBDIR=''
X11_LIBS=''
X11_LOCALEDATADIR=''
X11_LOCALEDIR=''
X11_LOCALELIBDIR=''
XCB_FALSE=''
XCB_TRUE=''
XCMS_FALSE=''
XCMS_TRUE=''
XDMCP_CFLAGS=''
XDMCP_LIBS=''
XERRORDB=''
XKBPROTO_CFLAGS=''
XKBPROTO_LIBS=''
XKBPROTO_REQUIRES=''
XKB_FALSE=''
XKB_TRUE=''
XKEYSYMDB=''
XLIB_LOADABLE_I18N_FALSE=''
XLIB_LOADABLE_I18N_TRUE=''
XLOCALEDATADIR=''
XLOCALEDIR=''
XLOCALELIBDIR=''
XLOCALE_FALSE=''
XLOCALE_TRUE=''
XMALLOC_ZERO_CFLAGS=''
XPROTO_CFLAGS=''
XPROTO_LIBS=''
XTHREADLIB=''
XTHREAD_CFLAGS=''
XTMALLOC_ZERO_CFLAGS=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
distcleancheck_listfiles=''
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /root/libX11-1.2.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "libX11"
#define PACKAGE_TARNAME "libX11"
#define PACKAGE_VERSION "1.2.2"
#define PACKAGE_STRING "libX11 1.2.2"
#define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
#define PACKAGE "libX11"
#define VERSION "1.2.2"

configure: exit 77

Last edited by miye (2009-08-21 04:50:49)

 

2009-08-21 04:48:45

AdBot
Advertisements

#27 2009-08-21 09:59:42

atang1
Administrator
Registered: 2006-03-30
Posts: 2705

Re: xvkbd - virtual keyboard and xbindkeys

First of all, you confirmed that GCC is in the bin directory and not in the lib directory for Linux commands?

You can try gslapt instead of Linux commands in a terminal.  Gslapt has script to do things more automatically. Austrumi 1.9.4 is now i486 instead of i686 as in some older Austrumi versions.

Offline

 

#28 2009-08-21 20:15:54

atang1
Administrator
Registered: 2006-03-30
Posts: 2705

Re: xvkbd - virtual keyboard and xbindkeys

Gslapt command is like /synapticapt-get in principle. Which means that from a repository(website) you can get a package of the files you need to install and its library of files(dependency list). This is revealed in ./configure. GCC is in /usr/bin/gcc. which can be used by gslapt(script).

To use make, you need GCC in /lib....... which in your ./configure, shows file not found. Which means that Austrumi can make install if GCC is available in/../lib/.... directory in your long verbose above. You can cp gcc to the 'lib/..../gcc.

You have a choice of using either to install xvkbd.

As far as lib-x11 is concerned, xorg has the library in its dependency files. You also have to make sure the exact directory and file names are correct when you make the binary file in Austrumi. In other words, Austrumi is not exactly slackware because it calls for files in different directories. Once you found out the lib-x11 Austrumi xorg uses, then you can find the dependency files in what xvkbd needs in lib-x11 dev tools? lib-x11-dev tools make up what video drivers are missing in kernel drivers(2.6.30)?

Anyway, crt1.0 not found is because GCC has a problem, not finding crt1.0. crt1.0 should be in /usr/lib? GCC -dumpspec > specs?

Offline

 

#29 2009-08-22 10:28:07

atang1
Administrator
Registered: 2006-03-30
Posts: 2705

Re: xvkbd - virtual keyboard and xbindkeys

You are doing alright, when you can read verbose. But you have to take notes when they are very long to see if there are conflicts. You have to know everything is dependent on kernel version number including builds. GCC is in the library, etc. but which directory.

Gslapt needs to download from a depository or two. Google gslapt repository and options to see how gslapt can download packages to be compiled(not already compiled static binary version with no dependency files needed)?

Googling many keywords will get you some answers? Linux has many packaging methods and sometimes when they copy each other. it can be confusing unless you know synaptic /apt-get way in Debian?

Now that you know Austrumi is using Gslapt for package management, you have to find the repositories for available package. Otherwise you have to have GCC in the /lib/... to do make install

Offline

 

#30 2009-08-24 01:10:29

miye
Guest

Re: xvkbd - virtual keyboard and xbindkeys

I Got it to this now  stddef.h: No such file or directory trying to find this file.

Code:

file /root/xboxdrv-linux-0.4.8/SConstruct,line 4:
    Configure(confdir = .sconf_temp)
scons: Configure: Checking for C++ library X11... 
.sconf_temp/conftest_0.cpp <-
  |
  |
  |#include "X11/Xlib.h"
  |
  |int
  |main() {
  |  
  |return 0;
  |}
  |
g++ -o .sconf_temp/conftest_0.o -c -g -O2 -Wall -ansi -pedantic .sconf_temp/conftest_0.cpp
In file included from /usr/local/include/X11/Xlib.h:52,
                 from .sconf_temp/conftest_0.cpp:3:
/usr/include/sys/types.h:147:20: error: stddef.h: No such file or directory
scons: Configure: no
 

#31 2009-08-24 01:25:11

miye
Guest

Re: xvkbd - virtual keyboard and xbindkeys

execvp: No such file or directory cant find this file now



Code:

file /root/xboxdrv-linux-0.4.8/SConstruct,line 4:
    Configure(confdir = .sconf_temp)
scons: Configure: Checking for C++ library X11... 
.sconf_temp/conftest_0.cpp <-
  |
  |
  |#include "X11/Xlib.h"
  |
  |int
  |main() {
  |  
  |return 0;
  |}
  |
g++ -o .sconf_temp/conftest_0.o -c -g -O2 -Wall -ansi -pedantic .sconf_temp/conftest_0.cpp
g++: error trying to exec 'as': execvp: No such file or directory
scons: Configure: no
 

#32 2009-08-24 03:32:07

miye
Guest

Re: xvkbd - virtual keyboard and xbindkeys

Im hear now but, I could not find the kernal header before to the new version of Austrumi, do you have any clue as to what I do here.

Code:

file /root/xboxdrv-linux-0.4.8/SConstruct,line 4:
    Configure(confdir = .sconf_temp)
scons: Configure: Checking for C++ library X11... 
.sconf_temp/conftest_0.cpp <-
  |
  |
  |#include "X11/Xlib.h"
  |
  |int
  |main() {
  |  
  |return 0;
  |}
  |
g++ -o .sconf_temp/conftest_0.o -c -g -O2 -Wall -ansi -pedantic .sconf_temp/conftest_0.cpp
g++ -o .sconf_temp/conftest_0 .sconf_temp/conftest_0.o -lX11
scons: Configure: yes

scons: Configure: Checking for C++ library usb... 
.sconf_temp/conftest_1.cpp <-
  |
  |
  |#include "usb.h"
  |
  |int
  |main() {
  |  
  |return 0;
  |}
  |
g++ -o .sconf_temp/conftest_1.o -c -g -O2 -Wall -ansi -pedantic .sconf_temp/conftest_1.cpp
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-slackware-linux/4.3.3/include-fixed/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/4.3.3/include-fixed/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/4.3.3/include-fixed/limits.h:11,
                 from /usr/include/usb.h:16,
                 from .sconf_temp/conftest_1.cpp:3:
/usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or directory
In file included from .sconf_temp/conftest_1.cpp:3:
/usr/include/usb.h:244: error: 'PATH_MAX' was not declared in this scope
/usr/include/usb.h:262: error: 'PATH_MAX' was not declared in this scope
scons: Configure: no

Last edited by miye (2009-08-24 03:33:30)

 

#33 2009-08-24 03:52:59

miye
Guest

Re: xvkbd - virtual keyboard and xbindkeys

is this the kernal header i can only find this 2.6.30.5- with the 5 on the end.

 

#34 2009-08-24 05:44:46

miye
Guest

Re: xvkbd - virtual keyboard and xbindkeys

I did it but now I dont have uinput, joydev, do you know what I should do about this problem.


Code:

>./xboxdrv (31359)
xboxdrv 0.4.8
Copyright (C) 2008 Ingo Ruhnke <grumbel@gmx.de>
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

No Xbox or Xbox360 controller found
 

#35 2009-08-24 09:18:57

atang1
Administrator
Registered: 2006-03-30
Posts: 2705

Re: xvkbd - virtual keyboard and xbindkeys

Before you get too excited, I notice that you put the driver into /root?

You must know where all the files are put into whichever directories, so that other files can be found.

Google xbox dirver directory? /dev (kernels 2.4.x or 2.6.x if not event hotplug USB or Xorg)? /usr udev (kernel 2.6.x if related to xorg drivers even on ansi graphics)?

Offline

 

Adverts

Board footer

Powered by FluxBB
Hosted by PunBB-Hosting