[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-src build readline5



alexander barakin wrote:
> пытаюсь пересобрать readline(впоследствие надо будет кое-что подправить):
> 
> $ apt-src install readline5 &>/dev/null
> $ apt-src build readline5 2>&1 | tail -n 20
> config.status: executing default commands
> rm -rf /usr/src/readline5-5.2/build64
> mkdir /usr/src/readline5-5.2/build64
> cd /usr/src/readline5-5.2/build64 && \
> 	  CC="gcc -m64" /usr/src/readline5-5.2/configure \
> 		--host=x86_64-linux-gnu --with-curses --prefix=/usr
> configure: WARNING: If you wanted to set the --build type, don't use --host.
>     If a cross compiler is detected then cross compile mode will be used.
> checking build system type... i686-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> 
> Beginning configuration for readline-5.2 for x86_64-pc-linux-gnu
> 
> checking whether make sets $(MAKE)... yes
> checking for x86_64-linux-gnu-gcc... gcc -m64
> checking for C compiler default output file name... configure: error: C compiler cannot create executables
> See `config.log' for more details.
> make: *** [configure-stamp] Error 77
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2
> E: Building failed
> 
> в то же время:
> 
> $ dpkg-architecture -qDEB_HOST_ARCH
> i386
> $ dpkg-architecture -qDEB_HOST_ARCH_OS
> linux
> $ dpkg-architecture -qDEB_HOST_GNU_TYPE
> i486-linux-gnu
> $ dpkg-architecture -qDEB_BUILD_GNU_TYPE
> i486-linux-gnu
> 
> 1. не понятно, с чего бы configure лезть в 64-битную архитектуру? баг? фича?
> 2. и как бы ему по-правильному сказать, чтобы не лез?
> либо 3. чего-то в этой жизни я не понимаю?
> 
> p.s. я ни разу не си-программер.
> 
Намыль сопровождающему, спроси.

-- 
Eugene V. Lyubimkin aka JackYF

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: