Jump to content

gcc48 install error


Recommended Posts

Hi, i have error, when i try to install gcc48 using

cd /usr/ports/lang/gcc48 && make install clean

I was looking for a solution, but i can't find ERROR:

root@server:/usr/home/server # cd /usr/ports/lang/gcc48
root@server:/usr/ports/lang/gcc48 # make install clean
===>  Installing for gcc48-4.8.4.s20140918
===>   gcc48-4.8.4.s20140918 depends on file: /usr/local/bin/as - found
===>   gcc48-4.8.4.s20140918 depends on file: /usr/local/share/java/ecj-4.5.jar - found
===>   gcc48-4.8.4.s20140918 depends on executable: indexinfo - found
===>   gcc48-4.8.4.s20140918 depends on shared library: libgmp.so - found (/usr/local/lib/libgmp.so.10.1.3)
===>   gcc48-4.8.4.s20140918 depends on shared library: libmpfr.so - found (/usr/local/lib/libmpfr.so.4.1.2)
===>   gcc48-4.8.4.s20140918 depends on shared library: libmpc.so - found (/usr/local/lib/libmpc.so.3.0.0)
===>  Checking if gcc48 already installed
===>   Registering installation for gcc48-4.8.4.s20140918
pkg-static: gcc48-4.8.4.s20140918 conflicts with gcc-4.8.3_1 (installs files into the same place).  Problematic file: /usr/local/bin/x86_64-portbld-freebsd10.0-c++48
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc48

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.

*** Error code 70

Stop.
make[1]: stopped in /usr/ports/lang/gcc48

Best regards.

Link to comment
Share on other sites

ok, im install gcc48 using

pkg install gcc48

and im add this to /etc/make.conf

CC=gcc48
CXX=g++48
CPP=cpp48

but i still have this error:

 

root@server:/usr/src/Server # gmake
Makefile:47: warning: overriding recipe for target `libserverkey'
Makefile:13: warning: ignoring old recipe for target `libserverkey'
gmake -C libthecore/src dep
gmake[1]: Entering directory `/usr/src/Server/libthecore/src'
g++ -Wall -O2 -pipe -mcpu=i686 -g -I../include -MM *.c > Depend
g++: not found
gmake[1]: *** [dep] Error 127
gmake[1]: Leaving directory `/usr/src/Server/libthecore/src'
gmake: *** [libthecore] Error 2
root@server:/usr/src/Server #

 

Link to comment
Share on other sites

  • Premium

Then you do this:
    From libdevil/ copy all .a files into /usr/lib
    From libgame/From lib copy the From libgame.a file into /usr/lib
    From libhackshield/From lib copy the From libanticpxsvr.a file into /usr/lib
    From liblua/From lib copy the .a files into /usr/lib
    From libpoly/ copy the .o files into /usr/lib
    From libserverkey/ copy the .o files into /usr/lib
    From libthecore/From lib copy the From libthecore.a files into /usr/lib

After copying the files into the /usr/lib do this:
 
go to Extern folder of the novaline and open the include folder and copy everything into /usr/include
go to Extern/Lib folder of the novaline branch and copy everything from there to /usr/lib
go to Extern folder of the novaline branch and drag the cryptopp and openssl folders into /usr/include
 
So we have installed everything then we have to upload the branch novaline into /usr/src
then u give this command in freebsd:
 

cd /usr/src/novaline/Server

cd /usr/src/novaline/Server/
gmake

 To build db:

cd /usr/src/novaline/Server/db/src
gmake clean
gmake -j20

To build game:

cd /usr/src/novaline/Server/game/src
gmake clean
gmake -j20

Fixing the error:

g++ directory": No such file or directory

Solution: here


 

If you're going to do something, then do it right.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.