Compiling glibc-2.23

Hi,

I’m trying to compile glibc-2.23.

I’m running
OpenSuse V13.2, 3.16.7-29-desktop x86_64 (64 bit),
KDE 4.14.9,
Quad core AMD FX-4100,
NVIDIA GF108 [GeForce GT 630],
1173.4/7980.9MB,
and gcc version 5.3.0 (GCC).

As superuser, I get the following output from running the configure script

 configure: error: expected an absolute directory name for --prefix: =/home/myname/glibc/build 

Isn’t

  /home/myname/glibc/build 

an absolute directory?

Thank you.

You should never compile anything as superuser. It is never needed.

 configure: error: expected an absolute directory name for --prefix: =/home/myname/glibc/build 

Please show exact configure invocation (copy and paste exact line, not describe or manually type in).

   

david@linux-aiwy:~/___David/glibc/build> ../glibc-2.23/configure --prefix==/home/david/___David/glibc/build
configure: error: expected an absolute directory name for --prefix: =/home/david/___David/glibc/build
david@linux-aiwy:~/___David/glibc/build> ../glibc-2.23/configure --prefix=='/home/david/___David/glibc/build'
configure: error: expected an absolute directory name for --prefix: =/home/david/___David/glibc/build
david@linux-aiwy:~/___David/glibc/build> ../glibc-2.23/configure --prefix=="/home/david/___David/glibc/build"
configure: error: expected an absolute directory name for --prefix: =/home/david/___David/glibc/build


Thank you.

Too many “=”. Where have you got this invocation from? It is assignment, not comparison.

Typo, my bad.

Next question, how do I handle this?



david@linux-aiwy:~/___David/glibc/build> ../glibc-2.23/configure --prefix=/home/david/___David/glibc/build
../glibc-2.23/configure: line 1723: config.log: Permission denied
../glibc-2.23/configure: line 1733: config.log: Permission denied


looks like a root ownership issue, did you ran configure as root?
anyhow someone alredy compiled glib 2.23 for 13.2 take a look at their spec file
https://build.opensuse.org/package/view_file/home:tiwai:bnc942297/glibc/glibc.spec
http://download.opensuse.org/repositories/home:/tiwai:/bnc942297/openSUSE_13.2/src/glibc-2.23-4.1.src.rpm
https://software.opensuse.org/package/glibc
select 13.2 end click show unstable packages, just be aware that messing with glibc might break your system