Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Linux plugin compilation: Need GCC 4.1.2 but I can't install it!

1 REPLY 1
Reply
Message 1 of 2
Anonymous
281 Views, 1 Reply

Linux plugin compilation: Need GCC 4.1.2 but I can't install it!

Hi guys!
Am using ubuntu 12.04 LTS, and I need gcc-4.1.2 for compiling some maya plugins for version early 2011 such as 2009~2010. But my system Gcc version is 4.6.

I download the 4.1.2 source code but does not compile the source successfully. So I download .deb files from ubuntu archive, but still, errors show up in software center:
Dependency is not satisfiable: gcc-4.1-base(=4.1.2-27ubuntu1)
using
sudo dpkg -i *.deb
ends in :
Selecting previously unselected package cpp-4.1.
(Reading database ... 325894 files and directories currently installed.)
Unpacking cpp-4.1 (from cpp-4.1_4.1.2-27ubuntu1_amd64.deb) ...
Selecting previously unselected package g++-4.1.
Unpacking g++-4.1 (from g++-4.1_4.1.2-27ubuntu1_amd64.deb) ...
Selecting previously unselected package g++-4.1-multilib.
Unpacking g++-4.1-multilib (from g++-4.1-multilib_4.1.2-27ubuntu1_amd64.deb) ...
Selecting previously unselected package gcc-4.1.
Unpacking gcc-4.1 (from gcc-4.1_4.1.2-27ubuntu1_amd64.deb) ...
Selecting previously unselected package gcc-4.1-base.
Unpacking gcc-4.1-base (from gcc-4.1-base_4.1.2-27ubuntu1_amd64.deb) ...
Selecting previously unselected package gcc-4.1-multilib.
Unpacking gcc-4.1-multilib (from gcc-4.1-multilib_4.1.2-27ubuntu1_amd64.deb) ...
Selecting previously unselected package libstdc++6-4.1-dev.
Unpacking libstdc++6-4.1-dev (from libstdc++6-4.1-dev_4.1.2-27ubuntu1_amd64.deb) ...
dpkg: dependency problems prevent configuration of g++-4.1-multilib:
g++-4.1-multilib depends on lib32stdc++6 (>= 4.1.2-27ubuntu1); however:
Package lib32stdc++6 is not installed.
dpkg: error processing g++-4.1-multilib (--install):
dependency problems - leaving unconfigured
Setting up gcc-4.1-base (4.1.2-27ubuntu1) ...
Setting up cpp-4.1 (4.1.2-27ubuntu1) ...
Processing triggers for man-db ...
dpkg: dependency problems prevent configuration of gcc-4.1:
libgomp1 (4.6.3-1ubuntu5) breaks gcc-4.1 and is installed.
libstdc++6:i386 (4.6.3-1ubuntu5) breaks gcc-4.1 and is installed.
libstdc++6 (4.6.3-1ubuntu5) breaks gcc-4.1 and is installed.
libgcc1:i386 (1:4.6.3-1ubuntu5) breaks gcc-4.1 and is installed.
libgcc1 (1:4.6.3-1ubuntu5) breaks gcc-4.1 and is installed.
dpkg: error processing gcc-4.1 (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gcc-4.1-multilib:
gcc-4.1-multilib depends on gcc-4.1 (= 4.1.2-27ubuntu1); however:
Package gcc-4.1 is not configured yet.
dpkg: error processing gcc-4.1-multilib (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of g++-4.1:
g++-4.1 depends on gcc-4.1 (= 4.1.2-27ubuntu1); however:
Package gcc-4.1 is not configured yet.
dpkg: error processing g++-4.1 (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libstdc++6-4.1-dev:
libstdc++6-4.1-dev depends on g++-4.1 (= 4.1.2-27ubuntu1); however:
Package g++-4.1 is not configured yet.
dpkg: error processing libstdc++6-4.1-dev (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
g++-4.1-multilib
gcc-4.1
gcc-4.1-multilib
g++-4.1
libstdc++6-4.1-dev

Does anyone know how to install gcc 4.1.2 on ubuntu 12.04 LTS ?
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Oh,When I compile it with Gcc4.6, it make me the .so file, but when I load it in Maya2010,error like so:
undefined symbol: _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
I believe this is the Gcc version issue, isn't it?
Thanks beforehand.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report