I believe gcc 4.0 is the first version that supports shared_ptr, which is in 
the tr1/memory header.

_fish

On Apr 27, 2013, at 11:04 AM, Nicholas Burlett <nickburl...@mac.com> wrote:

> Looks like maybe you need a newer version of boost for that version of 
> slackware. See 
> http://www.linuxquestions.org/questions/slackware-14/have-boost-newsbeuter-will-not-compile-837081/
>  for someone with a  similar error compiling a different project that needs 
> <tr1/memory>. 
> 
> -Nick
> 
> On Apr 27, 2013, at 11:01 AM, Luciano ES <lucm...@gmail.com> wrote:
> 
>> Sorry to be a nuisance, but this really have no solution?  :-(
>> 
>> -- 
>> Luciano ES
>>>> 
>> **************************
>> On Fri, 15 Mar 2013 22:54:25 -0700, ridiculous_fish wrote:
>> 
>>> It looks like maybe your compiler doesn't support  C++ TR1? What does
>>> 'g++  --version'  report?
>>> 
>>> On Mar 15, 2013, at 10:02 PM, Luciano ES <lucm...@gmail.com> wrote:
>>> 
>>>> I have finally decided to install fish on my headless server, it
>>>> runs Slackware 11. But it's not working. Do you guys have any idea?
>>>> 
>>>> luc[933-0]0#fish-shell> ./configure --without-xsel
>>>> checking if autoconf needs to be run... no
>>>> checking if autoheader needs to be run... yes
>>>> configure: running autoheader
>>>> checking for /usr/pkg/include include directory... no
>>>> checking for /usr/pkg/lib library directory... no
>>>> checking for /usr/pkg/bin command directory... no
>>>> checking for /sw/include include directory... no
>>>> checking for /sw/lib library directory... no
>>>> checking for /sw/bin command directory... no
>>>> checking for /opt/include include directory... no
>>>> checking for /opt/lib library directory... no
>>>> checking for /opt/bin command directory... no
>>>> checking for /opt/local/include include directory... no
>>>> checking for /opt/local/lib library directory... no
>>>> checking for /opt/local/bin command directory... no
>>>> checking for /usr/local/include include directory... yes
>>>> checking for /usr/local/lib library directory... yes
>>>> checking for /usr/local/bin command directory... yes
>>>> checking for g++... g++
>>>> checking for C++ compiler default output file name... a.out
>>>> checking whether the C++ compiler works... yes
>>>> checking whether we are cross compiling... no
>>>> checking for suffix of executables... 
>>>> checking for suffix of object files... o
>>>> checking whether we are using the GNU C++ compiler... yes
>>>> checking whether g++ accepts -g... yes
>>>> checking for gcc... gcc
>>>> checking whether we are using the GNU C compiler... yes
>>>> checking whether gcc accepts -g... yes
>>>> checking for gcc option to accept ISO C89... none needed
>>>> checking how to run the C preprocessor... gcc -E
>>>> checking for a BSD-compatible install... /bin/ginstall -c
>>>> checking for msgfmt... no
>>>> checking if we are compiling against glibc... yes
>>>> checking build system type... i686-pc-linux-gnu
>>>> checking host system type... i686-pc-linux-gnu
>>>> checking target system type... i686-pc-linux-gnu
>>>> checking if we are under Solaris... no
>>>> checking if we are using non varargs tparm.... no
>>>> checking if we are under BSD... no
>>>> checking for /proc/self/stat... yes
>>>> checking for library containing connect... none required
>>>> checking for library containing nanosleep... none required
>>>> checking for library containing pthread_create... -lpthread
>>>> checking for library containing setupterm... -lncurses
>>>> checking for library containing nan... -lm
>>>> checking for library containing iconv_open... none required
>>>> checking for library containing iconv_open... (cached) none required
>>>> checking for library containing iconv_open... (cached) none required
>>>> checking for grep that handles long lines and -e... /bin/grep
>>>> checking for egrep... /bin/grep -E
>>>> checking for ANSI C header files... yes
>>>> checking for sys/types.h... yes
>>>> checking for sys/stat.h... yes
>>>> checking for stdlib.h... yes
>>>> checking for string.h... yes
>>>> checking for memory.h... yes
>>>> checking for strings.h... yes
>>>> checking for inttypes.h... yes
>>>> checking for stdint.h... yes
>>>> checking for unistd.h... yes
>>>> checking getopt.h usability... yes
>>>> checking getopt.h presence... yes
>>>> checking for getopt.h... yes
>>>> checking termios.h usability... yes
>>>> checking termios.h presence... yes
>>>> checking for termios.h... yes
>>>> checking sys/resource.h usability... yes
>>>> checking sys/resource.h presence... yes
>>>> checking for sys/resource.h... yes
>>>> checking term.h usability... yes
>>>> checking term.h presence... yes
>>>> checking for term.h... yes
>>>> checking ncurses/term.h usability... yes
>>>> checking ncurses/term.h presence... yes
>>>> checking for ncurses/term.h... yes
>>>> checking ncurses.h usability... yes
>>>> checking ncurses.h presence... yes
>>>> checking for ncurses.h... yes
>>>> checking curses.h usability... yes
>>>> checking curses.h presence... yes
>>>> checking for curses.h... yes
>>>> checking stropts.h usability... yes
>>>> checking stropts.h presence... yes
>>>> checking for stropts.h... yes
>>>> checking siginfo.h usability... no
>>>> checking siginfo.h presence... no
>>>> checking for siginfo.h... no
>>>> checking sys/select.h usability... yes
>>>> checking sys/select.h presence... yes
>>>> checking for sys/select.h... yes
>>>> checking sys/ioctl.h usability... yes
>>>> checking sys/ioctl.h presence... yes
>>>> checking for sys/ioctl.h... yes
>>>> checking execinfo.h usability... yes
>>>> checking execinfo.h presence... yes
>>>> checking for execinfo.h... yes
>>>> checking spawn.h usability... yes
>>>> checking spawn.h presence... yes
>>>> checking for spawn.h... yes
>>>> checking regex.h usability... yes
>>>> checking regex.h presence... yes
>>>> checking for regex.h... yes
>>>> checking how to use -D_XOPEN_SOURCE=600 and
>>>> -D_POSIX_C_SOURCE=200112L... checking if switches "" works... yes 
>>>> checking for wcsdup... yes
>>>> checking for wcsndup... no
>>>> checking for wcslen... yes
>>>> checking for wcscasecmp... yes
>>>> checking for wcsncasecmp... yes
>>>> checking for fwprintf... yes
>>>> checking for futimes... yes
>>>> checking for wcwidth... yes
>>>> checking for wcswidth... yes
>>>> checking for wcstok... yes
>>>> checking for fputwc... yes
>>>> checking for fgetwc... yes
>>>> checking for wcstol... yes
>>>> checking for wcslcat... no
>>>> checking for wcslcpy... no
>>>> checking for lrand48_r... yes
>>>> checking for killpg... yes
>>>> checking for backtrace... yes
>>>> checking for backtrace_symbols... yes
>>>> checking for sysconf... yes
>>>> checking for getifaddrs... yes
>>>> checking if realpath accepts null for its second argument... yes
>>>> checking if struct winsize and TIOCGWINSZ exist... yes
>>>> checking if fwprintf is broken... no
>>>> checking for _nl_msg_cat_cntr symbol... yes
>>>> checking for __environ symbol... yes
>>>> checking if getopt_long exists and works... yes
>>>> checking If del_curterm is broken... no
>>>> configure: creating ./config.status
>>>> config.status: creating Makefile
>>>> config.status: creating fish.spec
>>>> config.status: creating config.h
>>>> fish is now configured.
>>>> Use 'make' and 'make install' to build and install fish.
>>>> 2.187u 2.131s 0:04.24 101.6%       0+0k 0+0io 0pf+0w
>>>> 
>>>> luc[934-0]0#fish-shell> make
>>>> g++ -I/usr/local/include/ -D_LARGEFILE_SOURCE=1
>>>> -D_FILE_OFFSET_BITS=64 -Wall
>>>> -DLOCALEDIR=\"/usr/local/share/locale\" -DPREFIX=L\"/usr/local\"
>>>> -DDATADIR=L\"/usr/local/share\" -DSYSCONFDIR=L\"/usr/local/etc\"
>>>> -c -o function.o function.cpp In file included from wutil.h:19,
>>>> from function.cpp:24: common.h:584: warning: `sentinel' attribute
>>>> directive ignored common.h:585: warning: `sentinel' attribute
>>>> directive ignored In file included from proc.h:21, from
>>>> function.cpp:29: io.h:5:22: tr1/memory: No such file or directory
>>>> In file included from proc.h:21, from function.cpp:29:
>>>> io.h:6: error: `std::tr1' has not been declared
>>>> io.h:6: error: expected nested-name-specifier before "shared_ptr"
>>>> io.h:6: error: `shared_ptr' has not been declared
>>>> io.h:176: error: `shared_ptr' was not declared in this scope
>>>> io.h:176: error: template argument 1 is invalid
>>>> io.h:176: error: template argument 2 is invalid
>>>> io.h:176: error: expected `{' before '>' token
>>>> io.h:176: error: expected unqualified-id before '>' token
>>>> io.h:192: error: expected `,' or `...' before '<' token
>>>> io.h:192: error: ISO C++ forbids declaration of `shared_ptr' with
>>>> no type io.h:200: error: expected constructor, destructor, or type
>>>> conversion before '<' token io.h:201: error: expected constructor,
>>>> destructor, or type conversion before '<' token In file included
>>>> from function.cpp:29: proc.h:354: error: field `io' has incomplete
>>>> type In file included from function.cpp:30:
>>>> parser.h:384: error: field `block_io' has incomplete type
>>>> make: *** [function.o] Error 1
>>>> Exit 2
>>>> 
>>>> 
>>>> -- 
>>>> Luciano ES
>>>>>> 
>>>> _______________________________________________
>>>> Fish-users mailing list
>>>> Fish-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/fish-users
>>>> 
>>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Try New Relic Now & We'll Send You this Cool Shirt
>> New Relic is the only SaaS-based application performance monitoring service 
>> that delivers powerful full stack analytics. Optimize and monitor your
>> browser, app, & servers with just a few lines of code. Try New Relic
>> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
>> _______________________________________________
>> Fish-users mailing list
>> Fish-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fish-users
> 


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to