- 리눅스 winexe 컴파일 설치
1 다운로드 및 압축해제[ | ]
Console
Copy
[root@zetawiki ~]# wget http://downloads.sourceforge.net/project/winexe/winexe-1.00.tar.gz
... (생략)
100%[======================>] 21,931,368 9.31M/s in 2.2s
2015-04-01 14:54:32 (9.31 MB/s) - “winexe-1.00.tar.gz” saved [21931368/21931368]
Console
Copy
[root@zetawiki ~]# tar xzvf winexe-1.00.tar.gz
... (생략)
winexe-1.00/testsuite/smbd/sec_ctx_utils.c
winexe-1.00/testsuite/smbd/sec_ctx_utils.h
winexe-1.00/testsuite/smbd/sighup.exp
winexe-1.00/upgrading-samba4.txt
2 설치[ | ]
Console
Copy
[root@zetawiki ~]# cd winexe-1.00/source4/
[root@zetawiki source4]# ./autogen.sh
./autogen.sh: running script/mkversion.sh
./script/mkversion.sh: 'version.h' created for Samba("4.0.0alpha11-GIT-UNKNOWN")
./autogen.sh: running autoheader -I. -I../lib/replace
./autogen.sh: running autoconf -I. -I../lib/replace
Now run ./configure (or ./configure.developer) and then make.
Console
Copy
[root@zetawiki source4]# ./configure
SAMBA VERSION: 4.0.0alpha11-GIT-UNKNOWN
LIBREPLACE_LOCATION_CHECKS: START
checking build system type... x86_64-unknown-linux-gnu
... (생략)
Developer mode: no
Automatic dependencies: no (install GNU make >= 3.81 and see --enable-automatic-dependencies)
Building shared libraries: yes
Using shared libraries internally: no (specify --enable-dso)
configure: creating mkconfig.mk
To build Samba, run /usr/bin/gmake
Console
Copy
[root@zetawiki source4]# make
/usr/bin/perl librpc/idl-deps.pl librpc/idl/irpc.idl ... (생략)
Samba will be compiled with flags:
CPP = gcc -E
CPPFLAGS = -I./include -I. -I./lib -I./../lib/replace -I./../lib/talloc -I./.. -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H
... (생략)
Compiling ../nsswitch/winbind_nss_linux.c
Linking bin/shared/libnss_winbind.so
Linking bin/shared/libsamba-hostconfig.so.0.0.1
Console
Copy
[root@zetawiki source4]# ./bin/winexe -V
Version 4.0.0alpha11-GIT-UNKNOWN
3 같이 보기[ | ]
4 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.