New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error Debian Etch / gcc-42 #69

Closed
GoogleCodeExporter opened this Issue Apr 6, 2015 · 6 comments

Comments

Projects
None yet
1 participant
@GoogleCodeExporter

GoogleCodeExporter commented Apr 6, 2015

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using (please check X-Mod-Pagespeed
header)?

On what operating system?

Which version of Apache?

Which MPM?

Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.

Distro = Debian Etch (I can't upgrade)
GcC = gcc (GCC) 4.2.3

# make BUILDTYPE=Release

Compile error output:
-Ithird_party/apache/apr/src/include/arch/unix 
-Ithird_party/apache/apr/gen/arch/linux/ia32/include -MMD -MF 
out/Release/.deps/out/Release/obj.target/apr/third_party/apache/apr/src/locks/un
ix/proc_mutex.o.d.raw -c -o 
out/Release/obj.target/apr/third_party/apache/apr/src/locks/unix/proc_mutex.o 
third_party/apache/apr/src/locks/unix/proc_mutex.c
third_party/apache/apr/src/locks/unix/proc_mutex.c: In function 
'proc_mutex_proc_pthread_create':
third_party/apache/apr/src/locks/unix/proc_mutex.c:385: error: 
'PTHREAD_MUTEX_ROBUST_NP' undeclared (first use in this function)
third_party/apache/apr/src/locks/unix/proc_mutex.c:385: error: (Each undeclared 
identifier is reported only once
third_party/apache/apr/src/locks/unix/proc_mutex.c:385: error: for each 
function it appears in.)
third_party/apache/apr/src/locks/unix/proc_mutex.c:393: error: 
'PTHREAD_PRIO_INHERIT' undeclared (first use in this function)
make: *** 
[out/Release/obj.target/apr/third_party/apache/apr/src/locks/unix/proc_mutex.o] 
Error 1

Original issue reported on code.google.com by ytuquel...@gmail.com on 11 Nov 2010 at 2:04

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

Bryan, do we support Debian 'etch'?

Original comment by rab...@google.com on 15 Nov 2010 at 5:40

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

no. the current stable debian release is 'lenny'
http://www.debian.org/. etch is the last stable release, before lenny.

i've verified that we compile on debian lenny.

Original comment by bmcqu...@google.com on 15 Nov 2010 at 5:47

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

You could try to install apr, aprutil, and httpd devel libraries on your system 
and then compile against the system headers, like so:

GYP_DEFINES="use_system_apache_dev=1" gclient runhooks
make BUILDTYPE=Release

You may need to provide additional GYP_DEFINES depending on the location of 
these headers on your system.

Original comment by bmcqu...@google.com on 15 Nov 2010 at 5:55

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

Hello, now ake BUILDTYPE=Release compiles using your way with now error, but 
when I try to use cd install; and make install I get.

make install
mkdir -p /var/mod_pagespeed/cache
mkdir -p /var/mod_pagespeed/files
chown -R www-data /var/mod_pagespeed
cat /tmp/mod_pagespeed.install/pagespeed.load 
/tmp/mod_pagespeed.install/pagespeed.conf > /etc/httpd/conf.d/pagespeed.conf
/bin/sh: /etc/httpd/conf.d/pagespeed.conf: No such file or directory
make: *** [install] Error 1

directory /tmp/mod_pagespeed.install/ is not created, so for this reason make 
install fails, any idea?

thank you


Original comment by ytuquel...@gmail.com on 19 Nov 2010 at 2:57

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

That Makefile is generic and requires a few variable settings.  Please see the 
instructions in http://code.google.com/p/modpagespeed/wiki/HowToBuild

At the bottom there's instructions 'installing mod_pagespeed'

Original comment by jmara...@google.com on 19 Nov 2010 at 3:07

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

It looks like the compile-error has been resolved so I'm closing this bug.  If 
you require further help installation, please open another Issue or email 
mod-pagespeed-discuss@googlegroups.com

Original comment by jmara...@google.com on 19 Nov 2010 at 3:09

  • Changed state: Done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment