1 |
Mike Frysinger wrote: |
2 |
> btw, i'll only be able to provide tips for now. too much Real Work atm |
3 |
> (including traveling), so i probably wont be able to do any actual work to |
4 |
> assist you until thanksgiving next week. |
5 |
> -mike |
6 |
> |
7 |
So.. it finally came up on my TODO list again and I got sandbox to |
8 |
compile on open Solaris.. |
9 |
|
10 |
My next goal is to get it to run correctly |
11 |
|
12 |
So I enabled sandbox in features and get this until I ^c it |
13 |
|
14 |
ACCESS DENIED open_wr: /var/log/sandbox/sandbox-21343.log (it's not |
15 |
writing to the log) |
16 |
|
17 |
Since I've only built the 64bit version of libsandbox.. I imagine it's |
18 |
some misc 32bit binary being called that I've yet to convert.. However. |
19 |
it could be more tricky.. I can give out zone access to help with this |
20 |
or the other things on the TODO list. Slowly I'm removing all Sun cruft |
21 |
not under ebuilds.. |
22 |
|
23 |
|
24 |
Very big thanks! |
25 |
|
26 |
./Christopher |
27 |
|
28 |
|
29 |
|
30 |
---------- |
31 |
|
32 |
These are not correct, but should give some idea of what I needed to do |
33 |
to get it to build.. |
34 |
|
35 |
econf --disable-static 'LIBS=-lmagic' || die |
36 |
|
37 |
----------- |
38 |
--- libsandbox/Makefile.in.old 2009-01-18 11:51:04.304407327 -0800 |
39 |
+++ libsandbox/Makefile.in 2009-01-18 11:38:09.852318831 -0800 |
40 |
@@ -59,7 +59,7 @@ |
41 |
libsandbox_la_OBJECTS = $(am_libsandbox_la_OBJECTS) |
42 |
libsandbox_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ |
43 |
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(libsandbox_la_CFLAGS) \ |
44 |
- $(CFLAGS) $(libsandbox_la_LDFLAGS) $(LDFLAGS) -o $@ |
45 |
+ $(CFLAGS) $(libsandbox_la_LDFLAGS) -M libsandbox.map $(LDFLAGS) |
46 |
-o $@ |
47 |
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
48 |
depcomp = $(SHELL) $(top_srcdir)/depcomp |
49 |
am__depfiles_maybe = depfiles |
50 |
@@ -210,8 +210,8 @@ |
51 |
# and destructor will not be executed ... |
52 |
libsandbox_la_LDFLAGS = \ |
53 |
-no-undefined \ |
54 |
- -nodefaultlibs \ |
55 |
- -Wl,--version-script,libsandbox.map |
56 |
+ -nodefaultlibs |
57 |
+ |
58 |
|
59 |
libsandbox_la_SOURCES = \ |
60 |
libsandbox.h \ |
61 |
---------------- |
62 |
|
63 |
--- configure.old 2009-01-18 09:03:01.286581347 -0800 |
64 |
+++ configure 2009-01-18 09:04:39.534604306 -0800 |
65 |
@@ -23460,6 +23460,7 @@ |
66 |
LIBC_PATH=$( |
67 |
$AWK '/attempt to open/ { if (($4 ~ /\/libc\.so/) && ($5 == |
68 |
"succeeded")) LIBC = $4; }; END {print LIBC}' libctest.log |
69 |
) |
70 |
+LIBC_PATH=/lib/amd64/libc.so |
71 |
rm -f libctest* |
72 |
if test x"$LIBC_PATH" = x || ! test -r "$LIBC_PATH" ; then |
73 |
{ { $as_echo "$as_me:$LINENO: error: Unable to determine LIBC PATH |
74 |
($LIBC_PATH)" >&5 |
75 |
@@ -23478,7 +23479,7 @@ |
76 |
{ $as_echo "$as_me:$LINENO: checking libc version" >&5 |
77 |
$as_echo_n "checking libc version... " >&6; } |
78 |
echo "int main(void) { return 0; }" > libctest.c |
79 |
-$CC $CFLAGS $CPPFLAGS $LDFLAGS -Wall -o libctest libctest.c |
80 |
+$CC $CFLAGS $CPPFLAGS $LDFLAGS -o libctest libctest.c |
81 |
LIBC_VERSION=$( |
82 |
$READELF -d libctest | \ |
83 |
grep NEEDED.*libc\\.so | \ |
84 |
@@ -23557,7 +23558,7 @@ |
85 |
|
86 |
CPPFLAGS="$CPPFLAGS -D_REENTRANT" |
87 |
if test "$GCC" = yes; then |
88 |
- CFLAGS="$CFLAGS -Wall" |
89 |
+ CFLAGS="$CFLAGS " |
90 |
fi |
91 |
|
92 |
ac_config_commands="$ac_config_commands tests/atconfig" |