Você está na página 1de 8

We is confronted with insurmountable opportunities.

-- Walt Kelly, "Pogo"

root@localdomain:~# cd /usr/src/wvstreams-4.4.1/
root@localdomain:/usr/src/wvstreams-4.4.1# ./configure ? -prefix=/usr/local
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: ?
checking build system type... Invalid configuration `?': machine `?' not recognized
configure: error: /bin/sh ./config.sub ? failed
root@localdomain:/usr/src/wvstreams-4.4.1# ./configure && -prefix=/usr/local
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether ln -s works... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C++ preprocessor... g++ -E
checking for egrep... grep -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 limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for cvs2cl.pl... no
checking for cvs2cl... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for library containing dlopen... -ldl
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for library containing NSCreateObjectFileImageFromFile... no
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for uuid_unparse in -luuid... yes
configure: creating ./config.status
config.status: creating config/config.mk
config.status: creating dist/xplc.pc
config.status: creating dist/xplc-uninstalled.pc
config.status: creating examples/simple-module/Makefile
config.status: creating examples/simple-module-user/Makefile
config.status: creating uuid/uuid_types.h
config.status: creating include/autoconf.h
config.status: include/autoconf.h is unchanged
configure: WARNING: Unstable release, the API might change in the next release.
bash: -prefix=/usr/local: No such file or directory
root@localdomain:/usr/src/wvstreams-4.4.1# --prefix=/usr/local
bash: --prefix=/usr/local: No such file or directory
root@localdomain:/usr/src/wvstreams-4.4.1# -- prefix=/usr/local
bash: --: command not found
root@localdomain:/usr/src/wvstreams-4.4.1# man prefix
No manual entry for prefix
root@localdomain:/usr/src/wvstreams-4.4.1# - -prefix=/usr/local
bash: -: command not found
root@localdomain:/usr/src/wvstreams-4.4.1# --prefix=/usr/local
bash: --prefix=/usr/local: No such file or directory
root@localdomain:/usr/src/wvstreams-4.4.1# --prefix=/usr/local/
bash: --prefix=/usr/local/: No such file or directory
root@localdomain:/usr/src/wvstreams-4.4.1# -prefix=/usr/local/
bash: -prefix=/usr/local/: No such file or directory
root@localdomain:/usr/src/wvstreams-4.4.1# - prefix=/usr/local/
bash: -: command not found
root@localdomain:/usr/src/wvstreams-4.4.1# prefix=/usr/local/
root@localdomain:/usr/src/wvstreams-4.4.1# make
cp dist/xplc-uninstalled.pc xplc-uninstalled.pc
root@localdomain:/usr/src/wvstreams-4.4.1# make install
mkdir -p /usr/local/bin
mkdir -p /usr/local/man/man1
mkdir -p /usr/local/lib/pkgconfig
mkdir -p /usr/local/lib/xplc-0.3.13
mkdir -p /usr/local/include/xplc-0.3.13/xplc
/usr/bin/ginstall -c libxplc.so /usr/local/lib/libxplc.so.0.3.13
/usr/bin/ginstall -c -m 644 libxplc.a /usr/local/lib/xplc-0.3.13
/usr/bin/ginstall -c -m 644 libxplc-cxx.a /usr/local/lib/xplc-0.3.13
/usr/bin/ginstall -c -m 644 dist/xplc.pc /usr/local/lib/pkgconfig/xplc-0.3.13.pc
/usr/bin/ginstall -c -m 644 include/xplc/ICategory.h include/xplc/ICategoryIterator.h
include/xplc/ICategoryManager.h include/xplc/IFactory.h include/xplc/IModule.h
include/xplc/IModuleLoader.h include/xplc/IModuleManagerFactory.h include/xplc/IMoniker.h
include/xplc/IMonikerService.h include/xplc/IObject.h include/xplc/IServiceHandler.h
include/xplc/IServiceManager.h include/xplc/IStaticServiceHandler.h include/xplc/IWeakRef.h
include/xplc/core.h include/xplc/delete.h include/xplc/factory.h include/xplc/module.h
include/xplc/ptr.h include/xplc/trace.h include/xplc/utils.h include/xplc/uuid.h include/xplc/uuidops.h
include/xplc/xplc.h /usr/local/include/xplc-0.3.13/xplc
/usr/bin/ginstall -c uuid/bin/uuidgen /usr/local/bin
/usr/bin/ginstall -c -m 644 uuid/bin/uuidgen.1 /usr/local/man/man1
ln -s ../libxplc.so.0.3.13 /usr/local/lib/xplc-0.3.13/libxplc.so
ln: creating symbolic link `/usr/local/lib/xplc-0.3.13/libxplc.so': File exists
make: *** [install] Error 1
root@localdomain:/usr/src/wvstreams-4.4.1# make install
mkdir -p /usr/local/bin
mkdir -p /usr/local/man/man1
mkdir -p /usr/local/lib/pkgconfig
mkdir -p /usr/local/lib/xplc-0.3.13
mkdir -p /usr/local/include/xplc-0.3.13/xplc
/usr/bin/ginstall -c libxplc.so /usr/local/lib/libxplc.so.0.3.13
/usr/bin/ginstall -c -m 644 libxplc.a /usr/local/lib/xplc-0.3.13
/usr/bin/ginstall -c -m 644 libxplc-cxx.a /usr/local/lib/xplc-0.3.13
/usr/bin/ginstall -c -m 644 dist/xplc.pc /usr/local/lib/pkgconfig/xplc-0.3.13.pc
/usr/bin/ginstall -c -m 644 include/xplc/ICategory.h include/xplc/ICategoryIterator.h
include/xplc/ICategoryManager.h include/xplc/IFactory.h include/xplc/IModule.h
include/xplc/IModuleLoader.h include/xplc/IModuleManagerFactory.h include/xplc/IMoniker.h
include/xplc/IMonikerService.h include/xplc/IObject.h include/xplc/IServiceHandler.h
include/xplc/IServiceManager.h include/xplc/IStaticServiceHandler.h include/xplc/IWeakRef.h
include/xplc/core.h include/xplc/delete.h include/xplc/factory.h include/xplc/module.h
include/xplc/ptr.h include/xplc/trace.h include/xplc/utils.h include/xplc/uuid.h include/xplc/uuidops.h
include/xplc/xplc.h /usr/local/include/xplc-0.3.13/xplc
/usr/bin/ginstall -c uuid/bin/uuidgen /usr/local/bin
/usr/bin/ginstall -c -m 644 uuid/bin/uuidgen.1 /usr/local/man/man1
ln -s ../libxplc.so.0.3.13 /usr/local/lib/xplc-0.3.13/libxplc.so
ln: creating symbolic link `/usr/local/lib/xplc-0.3.13/libxplc.so': File exists
make: *** [install] Error 1
root@localdomain:/usr/src/wvstreams-4.4.1# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether ln -s works... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C++ preprocessor... g++ -E
checking for egrep... grep -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 limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for cvs2cl.pl... no
checking for cvs2cl... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for library containing dlopen... -ldl
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for library containing NSCreateObjectFileImageFromFile... no
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for uuid_unparse in -luuid... yes
configure: creating ./config.status
config.status: creating config/config.mk
config.status: creating dist/xplc.pc
config.status: creating dist/xplc-uninstalled.pc
config.status: creating examples/simple-module/Makefile
config.status: creating examples/simple-module-user/Makefile
config.status: creating uuid/uuid_types.h
config.status: creating include/autoconf.h
config.status: include/autoconf.h is unchanged
configure: WARNING: Unstable release, the API might change in the next release.
root@localdomain:/usr/src/wvstreams-4.4.1# prefix=/usr/local/
root@localdomain:/usr/src/wvstreams-4.4.1# make
cp dist/xplc-uninstalled.pc xplc-uninstalled.pc
root@localdomain:/usr/src/wvstreams-4.4.1# make install DESTDIR=/tmp/wvstreams-4.4.1
mkdir -p /tmp/wvstreams-4.4.1/usr/local/bin
mkdir -p /tmp/wvstreams-4.4.1/usr/local/man/man1
mkdir -p /tmp/wvstreams-4.4.1/usr/local/lib/pkgconfig
mkdir -p /tmp/wvstreams-4.4.1/usr/local/lib/xplc-0.3.13
mkdir -p /tmp/wvstreams-4.4.1/usr/local/include/xplc-0.3.13/xplc
/usr/bin/ginstall -c libxplc.so /tmp/wvstreams-4.4.1/usr/local/lib/libxplc.so.0.3.13
/usr/bin/ginstall -c -m 644 libxplc.a /tmp/wvstreams-4.4.1/usr/local/lib/xplc-0.3.13
/usr/bin/ginstall -c -m 644 libxplc-cxx.a /tmp/wvstreams-4.4.1/usr/local/lib/xplc-0.3.13
/usr/bin/ginstall -c -m 644 dist/xplc.pc /tmp/wvstreams-4.4.1/usr/local/lib/pkgconfig/xplc-0.3.13.pc
/usr/bin/ginstall -c -m 644 include/xplc/ICategory.h include/xplc/ICategoryIterator.h
include/xplc/ICategoryManager.h include/xplc/IFactory.h include/xplc/IModule.h
include/xplc/IModuleLoader.h include/xplc/IModuleManagerFactory.h include/xplc/IMoniker.h
include/xplc/IMonikerService.h include/xplc/IObject.h include/xplc/IServiceHandler.h
include/xplc/IServiceManager.h include/xplc/IStaticServiceHandler.h include/xplc/IWeakRef.h
include/xplc/core.h include/xplc/delete.h include/xplc/factory.h include/xplc/module.h
include/xplc/ptr.h include/xplc/trace.h include/xplc/utils.h include/xplc/uuid.h include/xplc/uuidops.h
include/xplc/xplc.h /tmp/wvstreams-4.4.1/usr/local/include/xplc-0.3.13/xplc
/usr/bin/ginstall -c uuid/bin/uuidgen /tmp/wvstreams-4.4.1/usr/local/bin
/usr/bin/ginstall -c -m 644 uuid/bin/uuidgen.1 /tmp/wvstreams-4.4.1/usr/local/man/man1
ln -s ../libxplc.so.0.3.13 /tmp/wvstreams-4.4.1/usr/local/lib/xplc-0.3.13/libxplc.so
ln -s libxplc.a /tmp/wvstreams-4.4.1/usr/local/lib/xplc-0.3.13/libxplc_s.a
ln -s uuidgen /tmp/wvstreams-4.4.1/usr/local/bin/uuidcdef
ln -s uuidgen.1 /tmp/wvstreams-4.4.1/usr/local/man/man1/uuidcdef.1
root@localdomain:/usr/src/wvstreams-4.4.1# cd /tmp/wvstreams-4.4.1
root@localdomain:/tmp/wvstreams-4.4.1# makepkg -c y -l y -p /tmp/wvstreams-4.4.1.tgz

Slackware package maker, version 3.14159.

Searching for symbolic links:


usr/local/lib/xplc-0.3.13/libxplc.so -> ../libxplc.so.0.3.13
usr/local/lib/xplc-0.3.13/libxplc_s.a -> libxplc.a
usr/local/bin/uuidcdef -> uuidgen
usr/local/man/man1/uuidcdef.1 -> uuidgen.1

Making symbolic link creation script:


( cd usr/local/lib/xplc-0.3.13 ; rm -rf libxplc.so )
( cd usr/local/lib/xplc-0.3.13 ; ln -sf ../libxplc.so.0.3.13 libxplc.so )
( cd usr/local/lib/xplc-0.3.13 ; rm -rf libxplc_s.a )
( cd usr/local/lib/xplc-0.3.13 ; ln -sf libxplc.a libxplc_s.a )
( cd usr/local/bin ; rm -rf uuidcdef )
( cd usr/local/bin ; ln -sf uuidgen uuidcdef )
( cd usr/local/man/man1 ; rm -rf uuidcdef.1 )
( cd usr/local/man/man1 ; ln -sf uuidgen.1 uuidcdef.1 )

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/local/lib/xplc-0.3.13/libxplc.so'
removed `./usr/local/lib/xplc-0.3.13/libxplc_s.a'
removed `./usr/local/bin/uuidcdef'
removed `./usr/local/man/man1/uuidcdef.1'

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)? y

mode of `.' retained as 0755 (rwxr-xr-x)


mode of `./install' retained as 0755 (rwxr-xr-x)
mode of `./usr' retained as 0755 (rwxr-xr-x)
mode of `./usr/local' retained as 0755 (rwxr-xr-x)
mode of `./usr/local/lib' retained as 0755 (rwxr-xr-x)
mode of `./usr/local/lib/pkgconfig' retained as 0755 (rwxr-xr-x)
mode of `./usr/local/lib/xplc-0.3.13' retained as 0755 (rwxr-xr-x)
mode of `./usr/local/bin' retained as 0755 (rwxr-xr-x)
mode of `./usr/local/include' retained as 0755 (rwxr-xr-x)
mode of `./usr/local/include/xplc-0.3.13' retained as 0755 (rwxr-xr-x)
mode of `./usr/local/include/xplc-0.3.13/xplc' retained as 0755 (rwxr-xr-x)
mode of `./usr/local/man' retained as 0755 (rwxr-xr-x)
mode of `./usr/local/man/man1' retained as 0755 (rwxr-xr-x)
ownership of `.' retained as root:root
ownership of `./install' retained as root:root
ownership of `./usr' retained as root:root
ownership of `./usr/local' retained as root:root
ownership of `./usr/local/lib' retained as root:root
ownership of `./usr/local/lib/pkgconfig' retained as root:root
ownership of `./usr/local/lib/xplc-0.3.13' retained as root:root
ownership of `./usr/local/bin' retained as root:root
ownership of `./usr/local/include' retained as root:root
ownership of `./usr/local/include/xplc-0.3.13' retained as root:root
ownership of `./usr/local/include/xplc-0.3.13/xplc' retained as root:root
ownership of `./usr/local/man' retained as root:root
ownership of `./usr/local/man/man1' retained as root:root
Creating Slackware package: /tmp/wvstreams-4.4.1.tgz

./
install/
install/doinst.sh
usr/
usr/local/
usr/local/lib/
usr/local/lib/pkgconfig/
usr/local/lib/pkgconfig/xplc-0.3.13.pc
usr/local/lib/libxplc.so.0.3.13
usr/local/lib/xplc-0.3.13/
usr/local/lib/xplc-0.3.13/libxplc.a
usr/local/lib/xplc-0.3.13/libxplc-cxx.a
usr/local/bin/
usr/local/bin/uuidgen
usr/local/include/
usr/local/include/xplc-0.3.13/
usr/local/include/xplc-0.3.13/xplc/
usr/local/include/xplc-0.3.13/xplc/ICategoryManager.h
usr/local/include/xplc-0.3.13/xplc/IModuleLoader.h
usr/local/include/xplc-0.3.13/xplc/IFactory.h
usr/local/include/xplc-0.3.13/xplc/xplc.h
usr/local/include/xplc-0.3.13/xplc/factory.h
usr/local/include/xplc-0.3.13/xplc/ptr.h
usr/local/include/xplc-0.3.13/xplc/delete.h
usr/local/include/xplc-0.3.13/xplc/IStaticServiceHandler.h
usr/local/include/xplc-0.3.13/xplc/IServiceHandler.h
usr/local/include/xplc-0.3.13/xplc/trace.h
usr/local/include/xplc-0.3.13/xplc/utils.h
usr/local/include/xplc-0.3.13/xplc/IMonikerService.h
usr/local/include/xplc-0.3.13/xplc/core.h
usr/local/include/xplc-0.3.13/xplc/IObject.h
usr/local/include/xplc-0.3.13/xplc/IWeakRef.h
usr/local/include/xplc-0.3.13/xplc/uuid.h
usr/local/include/xplc-0.3.13/xplc/uuidops.h
usr/local/include/xplc-0.3.13/xplc/module.h
usr/local/include/xplc-0.3.13/xplc/ICategoryIterator.h
usr/local/include/xplc-0.3.13/xplc/IModule.h
usr/local/include/xplc-0.3.13/xplc/IMoniker.h
usr/local/include/xplc-0.3.13/xplc/ICategory.h
usr/local/include/xplc-0.3.13/xplc/IModuleManagerFactory.h
usr/local/include/xplc-0.3.13/xplc/IServiceManager.h
usr/local/man/
usr/local/man/man1/
usr/local/man/man1/uuidgen.1

Slackware package /tmp/wvstreams-4.4.1.tgz created.

root@localdomain:/tmp/wvstreams-4.4.1# cd /tmp installpkg


root@localdomain:/tmp# cd /tmp/
root@localdomain:/tmp# installpkg /tmp/wvstreams-4.4.1-abi.tgz
Cannot install /tmp/wvstreams-4.4.1-abi.tgz: file not found
root@localdomain:/tmp# installpkg /tmp/wvstreams-4.4.1.tgz
Verifying package wvstreams-4.4.1.tgz.
Installing package wvstreams-4.4.1.tgz:
PACKAGE DESCRIPTION:
Executing install script for wvstreams-4.4.1.tgz.
Package wvstreams-4.4.1.tgz installed.

root@localdomain:/tmp# cd /usr/src/wvdial-1.60 && make && make install


Package libwvstreams was not found in the pkg-config search path.
Perhaps you should add the directory containing `libwvstreams.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libwvstreams' found
Makefile:10: *** WvStreams does not appear to be installed. Stop.
root@localdomain:/usr/src/wvdial-1.60#

Você também pode gostar