Вопросы про porteus
Posted: 20 Nov 2019, 08:54
Взял Gajim с slackware.pkgs.org. Руками добавил все недостающие TXZ, запускаю:Blaze wrote: ↑20 Nov 2019, 08:58glestwid, USM выдает все, что ему вздумается. Порой лишнее и лепит все из разных репозиториев.
Лучше пользуйтесь https://pkgs.org/ или https://slackbuilds.org/
guest@porteus:/root$ gajim
===============================================================================
PyOpenSSL not found, falling back to Python builtin SSL objects (insecure).
===============================================================================
Traceback (most recent call last):
File "gajim.py", line 230, in <module>
gobject.set_prgname('gajim')
File "/usr/share/gajim/src/common/demandimport.py", line 86, in __getattribute__
self._load()
File "/usr/share/gajim/src/common/demandimport.py", line 58, in _load
mod = _origimport(head, globals, locals)
ImportError: No module named gobject
root@porteus:/tmp/usm# pidgin
pidgin: error while loading shared libraries: libgtkspell.so.0: cannot open shared object file: No such file or directory
root@porteus:/tmp/usm# rpm2xzm libgtkspell-2.0.16-alt3.i586.rpm
Slackware package maker, version 3.1415927.
Searching for symbolic links:
usr/lib/libgtkspell.so.0 libgtkspell.so.0.0.0
Making symbolic link creation script:
( cd usr/lib ; rm -rf libgtkspell.so.0 )
( cd usr/lib ; ln -sf libgtkspell.so.0.0.0 libgtkspell.so.0 )
It is recommended that you make these lines your new installation script.
Would you like to make this stuff the install script for this package
and remove the symbolic links ([y]es, [n]o)? y
Removing symbolic links:
removed './usr/lib/libgtkspell.so.0'
Creating your new ./install/doinst.sh...
This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!
Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n
Creating Slackware package: /tmp/rpm2xzm1465/libgtkspell-2.0.16-alt3.i586.txz
xz: (stdin): Cannot allocate memory
./
install/
install/doinst.sh
usr/
usr/share/
usr/share/locale/
usr/share/locale/eu/
usr/share/locale/eu/LC_MESSAGES/
usr/share/locale/eu/LC_MESSAGES/gtkspell.mo
usr/share/locale/th/
usr/share/locale/th/LC_MESSAGES/
usr/share/locale/th/LC_MESSAGES/gtkspell.mo
usr/share/locale/af/
usr/share/locale/af/LC_MESSAGES/
usr/share/locale/af/LC_MESSAGES/gtkspell.mo
ERROR: xz -9 --threads=2 -c returned error code 1 -- makepkg failed.
Verifying package libgtkspell-2.0.16-alt3.i586.txz.
xz: (stdin): File format not recognized
Unable to install /tmp/rpm2xzm1465/libgtkspell-2.0.16-alt3.i586.txz: tar archive is corrupt (tar returned error code 2)
error installing /tmp/rpm2xzm1465/libgtkspell-2.0.16-alt3.i586.txz package
mv: cannot stat 'libgtkspell-2.0.16-alt3.i586.xzm': No such file or directory
В ответ он мне говорит:./configure --prefix=/usr --mandir=/usr/share/man
Ладно, смотрю в config.log:root@porteus:/tmp/pidgin-otr-4.0.2# ./configure --prefix=/usr --mandir=/usr/share/man
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for style of include used by make... none
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/pidgin-otr-4.0.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
Что ему тут не нравится?This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by pidgin-otr configure 4.0.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr --mandir=/usr/share/man
## --------- ##
## Platform. ##
## --------- ##
hostname = porteus
uname -m = i686
uname -r = 4.16.3-porteus
uname -s = Linux
uname -v = #1 SMP PREEMPT Sat Apr 21 18:14:53 Local time zone must be set--
/usr/bin/uname -p = Intel(R) Core(TM) i7
/bin/uname -X = unknown
/bin/arch = i686
/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/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2300: checking whether make supports nested variables
configure:2317: result: yes
configure:2374: checking for a BSD-compatible install
configure:2442: result: /bin/ginstall -c
configure:2453: checking whether build environment is sane
configure:2508: result: yes
configure:2659: checking for a thread-safe mkdir -p
configure:2698: result: /bin/mkdir -p
configure:2705: checking for gawk
configure:2721: found /bin/gawk
configure:2732: result: gawk
configure:2743: checking whether make sets $(MAKE)
configure:2769: result: no
configure:2910: checking for style of include used by make
configure:2938: result: none
configure:3009: checking for gcc
configure:3025: found /usr/bin/gcc
configure:3036: result: gcc
configure:3265: checking for C compiler version
configure:3274: gcc --version >&5
gcc (GCC) 5.3.0
Copyright (C) 2015 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:3285: $? = 0
configure:3274: gcc -v >&5
Reading specs from /usr/lib/gcc/i586-slackware-linux/5.3.0/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i586-slackware-linux/5.3.0/lto-wrapper
Target: i586-slackware-linux
Configured with: ../gcc-5.3.0/configure --prefix=/usr --libdir=/usr/lib --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,go,java,lto,objc --enable-threads=posix --enable-checking=release --enable-objc-gc --with-system-zlib --with-python-dir=/lib/python2.7/site-packages --enable-libstdcxx-dual-abi --with-default-libstdcxx-abi=gcc4-compatible --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --enable-lto --disable-install-libiberty --with-gnu-ld --verbose --enable-java-home --with-java-home=/usr/lib/jvm/jre --with-jvm-root-dir=/usr/lib/jvm --with-jvm-jar-dir=/usr/lib/jvm/jvm-exports --with-arch-directory=i386 --with-antlr-jar=/root/slackware-current/source/d/gcc/antlr-runtime-3.4.jar --enable-java-awt=gtk --disable-gtktest --with-arch=i586 --target=i586-slackware-linux --build=i586-slackware-linux --host=i586-slackware-linux
Thread model: posix
gcc version 5.3.0 (GCC)
configure:3285: $? = 0
configure:3274: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3285: $? = 1
configure:3274: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3285: $? = 1
configure:3305: checking whether the C compiler works
configure:3327: gcc conftest.c >&5
gcc: error trying to exec 'as': execvp: No such file or directory
configure:3331: $? = 1
configure:3369: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pidgin-otr"
| #define PACKAGE_TARNAME "pidgin-otr"
| #define PACKAGE_VERSION "4.0.2"
| #define PACKAGE_STRING "pidgin-otr 4.0.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "pidgin-otr"
| #define VERSION "4.0.2"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3374: error: in `/tmp/pidgin-otr-4.0.2':
configure:3376: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
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_EXTRA_CFLAGS_set=
ac_cv_env_EXTRA_CFLAGS_value=
ac_cv_env_EXTRA_LIBS_set=
ac_cv_env_EXTRA_LIBS_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_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_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/ginstall -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=no
am_cv_make_support_nested_variables=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /tmp/pidgin-otr-4.0.2/missing aclocal-1.14'
ALL_LINGUAS=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR=''
AUTOCONF='${SHELL} /tmp/pidgin-otr-4.0.2/missing autoconf'
AUTOHEADER='${SHELL} /tmp/pidgin-otr-4.0.2/missing autoheader'
AUTOMAKE='${SHELL} /tmp/pidgin-otr-4.0.2/missing automake-1.14'
AWK='gawk'
BUILD_NT_SERVICES_FALSE=''
BUILD_NT_SERVICES_TRUE=''
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXTRA_CFLAGS=''
EXTRA_LIBS=''
FGREP=''
GETTEXT_PACKAGE=''
GMOFILES=''
GMSGFMT=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
INTLTOOL_CAVES_RULE=''
INTLTOOL_DESKTOP_RULE=''
INTLTOOL_DIRECTORY_RULE=''
INTLTOOL_EXTRACT=''
INTLTOOL_KBD_RULE=''
INTLTOOL_KEYS_RULE=''
INTLTOOL_MERGE=''
INTLTOOL_OAF_RULE=''
INTLTOOL_PERL=''
INTLTOOL_POLICY_RULE=''
INTLTOOL_PONG_RULE=''
INTLTOOL_PROP_RULE=''
INTLTOOL_SCHEMAS_RULE=''
INTLTOOL_SERVER_RULE=''
INTLTOOL_SERVICE_RULE=''
INTLTOOL_SHEET_RULE=''
INTLTOOL_SOUNDLIST_RULE=''
INTLTOOL_THEME_RULE=''
INTLTOOL_UI_RULE=''
INTLTOOL_UPDATE=''
INTLTOOL_V_MERGE=''
INTLTOOL_V_MERGE_OPTIONS=''
INTLTOOL_XAM_RULE=''
INTLTOOL_XML_NOMERGE_RULE=''
INTLTOOL_XML_RULE=''
INTLTOOL__v_MERGE_0=''
INTLTOOL__v_MERGE_=''
LD=''
LDFLAGS=''
LIBGCRYPT_CFLAGS=''
LIBGCRYPT_CONFIG=''
LIBGCRYPT_LIBS=''
LIBOBJS=''
LIBOTR_CFLAGS=''
LIBOTR_LIBS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /tmp/pidgin-otr-4.0.2/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
MKINSTALLDIRS=''
MSGFMT=''
MSGFMT_OPTS=''
MSGMERGE=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='pidgin-otr'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='pidgin-otr'
PACKAGE_STRING='pidgin-otr 4.0.2'
PACKAGE_TARNAME='pidgin-otr'
PACKAGE_URL=''
PACKAGE_VERSION='4.0.2'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
RANLIB=''
SED=''
SET_MAKE='MAKE=make'
SHELL='/bin/sh'
STRIP=''
USE_NLS=''
VERSION='4.0.2'
XGETTEXT=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='#'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
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} /tmp/pidgin-otr-4.0.2/install-sh'
intltool__v_merge_options_0=''
intltool__v_merge_options_=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/usr/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "pidgin-otr"
#define PACKAGE_TARNAME "pidgin-otr"
#define PACKAGE_VERSION "4.0.2"
#define PACKAGE_STRING "pidgin-otr 4.0.2"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "pidgin-otr"
#define VERSION "4.0.2"
configure: exit 77
Code: Select all
Package requirements (glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0) were not met:
No package 'pidgin' found
No package 'purple' found
Code: Select all
su
toor
cd /tmp
wget -q https://slackbuilds.org/slackbuilds/14.2/network/pidgin-otr.tar.gz
tar -xf pidgin-otr.tar.gz
rm pidgin-otr.tar.gz
cd pidgin-otr/
wget -q https://otr.cypherpunks.ca/pidgin-otr-4.0.2.tar.gz
./pidgin-otr.SlackBuild