You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by spidy <la...@gmail.com> on 2006/09/01 10:56:02 UTC

error building with the mvn command

Hi

I am using activemq-cpp library and I find that we have to download the
source code using subversion and then build on our own. I was a bit confused
on which is the ideal way of building the activemq-cpp libraries. I would
like to build this library (may be a dll) and then work on the samples.

Tried to do that with the mvn -e package command and ran into the following
errors
Can somebody tell me what went wrong here. Isnt their a dll and lib file
that we get directly from this site that we could use. Some help would be
really appreciated. Here is the stacktrace of the error...

I ran the "mvn -e package" command under the activemq-cpp folder that
containts all the other folders like src, win32-gcc, win32-msvc etc.

[INFO] cl /INCREMENTAL:NO /O2 /D WIN32 /D NDEBUG /D _LIB /D
WIN32_LEAN_AND_MEAN
/D _CRT_SECURE_NO_DEPRECATE /FD /EHsc /MD '/Fo"Release\\"'
'/Fd"Release\vc80.pdb
"' /W2 /nologo /c /Wp64 /Zi /TP
-ID:\PCData\cpp2\activemq-cpp\win32-msvc\..\src\
main -ID:\PCData\cpp2\activemq-cpp\win32-msvc\..\src\test
-ID:\PCData\cpp2\activ
emq-cpp\win32-msvc\..\src\main\activemq\concurrent
-ID:\PCData\cpp2\activemq-cpp
\win32-msvc\..\src\main\activemq\connector
-ID:\PCData\cpp2\activemq-cpp\win32-m
svc\..\src\main\activemq\connector\stomp
-ID:\PCData\cpp2\activemq-cpp\win32-msv
c\..\src\main\activemq\connector\stomp\commands
-ID:\PCData\cpp2\activemq-cpp\wi
n32-msvc\..\src\main\activemq\connector\stomp\marshal
-ID:\PCData\cpp2\activemq-
cpp\win32-msvc\..\src\main\activemq\core
-ID:\PCData\cpp2\activemq-cpp\win32-msv
c\..\src\main\activemq\exceptions
-ID:\PCData\cpp2\activemq-cpp\win32-msvc\..\sr
c\main\activemq\io
-ID:\PCData\cpp2\activemq-cpp\win32-msvc\..\src\main\activemq
\logger
-ID:\PCData\cpp2\activemq-cpp\win32-msvc\..\src\main\activemq\network -I
D:\PCData\cpp2\activemq-cpp\win32-msvc\..\src\main\activemq\support
-ID:\PCData\
cpp2\activemq-cpp\win32-msvc\..\src\main\activemq\transport
-ID:\PCData\cpp2\act
ivemq-cpp\win32-msvc\..\src\main\activemq\util
/FoD:\PCData\cpp2\activemq-cpp\wi
n32-msvc\target\Thread.obj -c
D:\PCData\cpp2\activemq-cpp\win32-msvc\..\src\main
\activemq\concurrent\Thread.cpp
cl : Command line warning D4025 : overriding '/FoRelease\' with
'/FoD:\PCData\cp
p2\activemq-cpp\win32-msvc\target\Thread.obj'
Thread.cpp
D:\PCData\cpp2\activemq-cpp\win32-msvc\..\src\main\activemq\concurrent\Thread.cp
p(0) : fatal error C1033: cannot open program database
'd:\pcdata\cpp2\activemq-
cpp\win32-msvc\release\vc80.pdb'
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing command line. Exit code:2

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error executing
command
line. Exit code:2
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error executing
comma
nd line. Exit code:2
        at
org.codehaus.mojo.natives.plugin.NativeCompileMojo.execute(NativeComp
ileMojo.java:166)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
        ... 16 more
Caused by: org.codehaus.mojo.natives.NativeBuildException: Error executing
comma
nd line. Exit code:2
        at
org.codehaus.mojo.natives.util.CommandLineUtil.execute(CommandLineUti
l.java:34)
        at
org.codehaus.mojo.natives.compiler.AbstractCompiler.compile(AbstractC
ompiler.java:78)
        at
org.codehaus.mojo.natives.plugin.NativeCompileMojo.execute(NativeComp
ileMojo.java:162)
        ... 18 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Fri Sep 01 10:44:21 CEST 2006
[INFO] Final Memory: 5M/12M
[INFO]
------------------------------------------------------------------------
-- 
View this message in context: http://www.nabble.com/error-building-with-the-mvn-command-tf2201369.html#a6095041
Sent from the ActiveMQ - User forum at Nabble.com.