slony1-bugs at lists.slony.info slony1-bugs at lists.slony.info
Mon Apr 27 17:59:32 PDT 2009
http://www.slony.info/bugzilla/show_bug.cgi?id=90

           Summary: Error while running "make" for Slony 2.0 on Solaris 2.11
           Product: Slony-I
           Version: devel
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: normal
          Priority: medium
         Component: core scripts
        AssignedTo: slony1-bugs at lists.slony.info
        ReportedBy: deep at zuberance.com
                CC: slony1-bugs at lists.slony.info
   Estimated Hours: 0.0


I'm trying to compile Slony 2.0 on Solaris 2.11 with Postgres 8.3. I'm getting
following error while running "make" statement. Please let me know whats the
issue. 


Using GNU make found at /opt/local/bin/gmake
gmake[1]: Entering directory `/home/eng/slony1-2.0.0'
gmake[2]: Entering directory `/home/eng/slony1-2.0.0/src'
gmake[3]: Entering directory `/home/eng/slony1-2.0.0/src/parsestatements'
./test-scanner < /dev/null > emptytestresult.log
cmp ./emptytestresult.log emptytestresult.expected
./test-scanner < ./test_sql.sql > test_sql.log
cmp ./test_sql.log ./test_sql.expected
./test-scanner < ./cstylecomments.sql > cstylecomments.log
cmp ./cstylecomments.log ./cstylecomments.expected
gmake[3]: Leaving directory `/home/eng/slony1-2.0.0/src/parsestatements'
gmake[3]: Entering directory `/home/eng/slony1-2.0.0/src/slon'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/home/eng/slony1-2.0.0/src/slon'
gmake[3]: Entering directory `/home/eng/slony1-2.0.0/src/slonik'
gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../..
-DPGSHARE="\"/opt/local/share/postgresql/\""  slonik.o dbutil.o parser.o 
../parsestatements/scanner.o -L/opt/local/lib/ -L/opt/local/lib/postgresql/
-lpq  -R/opt/local/lib/ -lpgport -o slonik
Undefined                       first referenced
 symbol                             in file
libintl_gettext                     /opt/local/lib//libpgport.a(exec.o) 
(symbol belongs to implicit dependency /opt/local/lib//libintl.so.3)
libintl_textdomain                  /opt/local/lib//libpgport.a(exec.o) 
(symbol belongs to implicit dependency /opt/local/lib//libintl.so.3)
libintl_bindtextdomain              /opt/local/lib//libpgport.a(exec.o) 
(symbol belongs to implicit dependency /opt/local/lib//libintl.so.3)
ld: fatal: Symbol referencing errors. No output written to slonik
collect2: ld returned 1 exit status
gmake[3]: *** [slonik] Error 1
gmake[3]: Leaving directory `/home/eng/slony1-2.0.0/src/slonik'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/eng/slony1-2.0.0/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/eng/slony1-2.0.0'
*** Error code 2
The following command caused the error:
IFS=':' ; \
        for dir in $PATH; do \
                for prog in gmake gnumake make; do \
                        if [ -f $dir/$prog ] && ( $dir/$prog -f /dev/null
--version 2>/dev/null | grep GNU >/dev/null 2>&1 ) ; then \
                                GMAKE=$dir/$prog; \
                                break 2; \
                        fi; \
                done; \
        done; \
\
if [ x"${GMAKE+set}" = xset ]; then \
        echo "Using GNU make found at ${GMAKE}"; \
        ${GMAKE} all ; \
else \
        echo "You must use GNU make to build slony-I." ; \
        false; \
fi
make: Fatal error: Command failed for target `all'


-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Slony1-bugs mailing list