aMSN Forums
February 11, 2012, 01:16:28 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: stdc++ not found on openbsd  (Read 19699 times)
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9424


View Profile WWW
« Reply #15 on: November 01, 2006, 04:41:21 pm »

can you give us a diff on Makefile.in ... not on Makefile and not a paste of the file.. we want a diff..
to do so, do a copy of Makefile.in into for example Makefile.in_orig. Then modify the Makefile.in and launch ./configure for it to generate the Makefile from the Makefile.in file.. then if your modifications work, do a
Code:
diff Makefile.in_orig Makefile.in
Logged

KaKaRoTo
brati
Newbie

Offline Offline

Posts: 3


View Profile
« Reply #16 on: March 15, 2007, 09:33:32 pm »

Hi all !

I'm using openbsd 4.0 and the latest tarball amsn-0.96.tar.bz2. I have tcl and tk installed.  I have done :

   - cp /usr/local/bin/shtcl8.4 /usr/local/bin/shtcl in order to avoid pb you have encounterd when you start ./confiugre . I obtain this :

-----------------------------------------------------------------------------------------------
checking for prefix by checking for wish... no
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking tcl build dir... database too small: /var/db/locate.database
using tcl library in /usr/local/lib/tcl8.4
checking tk build dir... database too small: /var/db/locate.database
using tk library in /usr/local/lib/tk8.4
checking for main in -lstdc++... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for egrep... 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 for png_read_info in -lpng... yes
checking png.h usability... yes
checking png.h presence... no
configure: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: png.h: proceeding with the compiler's result
checking for png.h... yes
checking for jpeg_CreateDecompress in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... no
configure: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: jpeglib.h: proceeding with the compiler's result
checking for jpeglib.h... yes
checking jerror.h usability... yes
checking jerror.h presence... no
configure: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: jerror.h: proceeding with the compiler's result
checking for jerror.h... yes
checking for ftello... yes
checking for fseeko... yes
checking for getpt... no
checking for strcasestr... yes
checking for memmem... no
checking for dlopen... yes
checking for pthread_create in -lpthread... yes
checking if mmx should be used... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating utils/linux/capture/config.h
config.status: utils/linux/capture/config.h is unchanged

compile time options summary
============================

    X11          : yes
    Tcl       : 8.4
    TK        : 8.4
    DEBUG        : no
    STATIC       : no
-----------------------------------------------------------------------------------------------

   - gmake --> I obtain this :


-----------------------------------------------------------------------------------------------
[...]
CXX     utils/TkCximage/src/CxImage/ximath.cpp.o
g++: -lm: linker input file unused because linking not done
  CXX     utils/TkCximage/src/CxImage/xmemfile.cpp.o
g++: -lm: linker input file unused because linking not done
  AR     utils/TkCximage/src/CxImage/libCxImage.a
ar: creating utils/TkCximage/src/CxImage/libCxImage.a
  LDX     utils/TkCximage/src/TkCximage.cpp.so
cp utils/TkCximage/src/TkCximage.cpp.so utils/TkCximage/TkCximage.so
  CC     utils/webcamsn/src/webcamsn.o
gcc: -lm: linker input file unused because linking not done
[...]
  CC     utils/webcamsn/src/vlc_encode.o
gcc: -lm: linker input file unused because linking not done
  AR     utils/webcamsn/src/libmimic.a
ar: creating utils/webcamsn/src/libmimic.a
  LD     utils/webcamsn/src/webcamsn.so
cp utils/webcamsn/src/webcamsn.so utils/webcamsn/webcamsn.so

-----------------------------------------------------------------------------------------------


   - gmake install --> I obtain this :

-----------------------------------------------------------------------------------------------
[...]
rm -Rf /usr/local/share/amsn
mkdir --parents /usr/local/share/amsn
mkdir: unknown option -- -
usage: mkdir [-p] [-m mode] dirname ...
gmake: *** [install] Error 1
-----------------------------------------------------------------------------------------------

It's impossible to launch this application after ./configure or ./configure + gmake or ./configure + gmake + gmake install.
   ksh: amsn: No such file or directory
   

I don't understand why amsn doesn't start. (amsn : -rwxr-xr--x)

thanks for help
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9424


View Profile WWW
« Reply #17 on: March 16, 2007, 07:58:42 am »

YOU ALREADY ASKED, DO NOT DOUBLE POST OR YOU'LL GET BANNED :@
Logged

KaKaRoTo
haldrik
Newbie

Offline Offline

Posts: 1


View Profile WWW
« Reply #18 on: March 05, 2008, 07:28:41 pm »

On Debian Lenny:

Create Simbolyc Link on /usr/lib

/usr/lib/libstdc++.so -> /usr/lib/libstdc++.so.6.0.10

Or the version you have.

Note: I post it this reply on this post because my problem is on Debian Etch and search on google, and find this post.
Logged

Debian Etch GNU/Linux
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!